Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Pre populate depositor name and date of deposit on dataset creation #526

Open
wants to merge 4 commits into
base: develop
Choose a base branch
from

Conversation

g-saracca
Copy link
Contributor

What this PR does / why we need it:

Prepopulates deposit name and deposit date on dataset creation form.

Which issue(s) this PR closes:

Suggestions on how to test this:

Step 1: Run the Development Environment

  1. Execute npm i.
  2. Navigate with cd packages/design-system && npm run build.
  3. Return with cd ../../.
  4. Ensure you have a .env file similar to .env.example, with the variable VITE_DATAVERSE_BACKEND_URL=http://localhost:8000.
  5. Navigate with cd dev-env.
  6. Start the environment using ./run-env.sh unstable.
  7. To verify the environment, visit http://localhost:8000 and check your local Dataverse installation.

Step 2: Test the feature

  1. Go to the view to create a new dataset.
  2. Depositor Name field should be pre-filled with user name and Deposit Date with the current date.

Does this PR introduce a user interface change? If mockups are available, please link/include them here:

No

Is there a release notes update needed for this change?:

No

Additional documentation:

N/A

@g-saracca g-saracca added Size: 3 A percentage of a sprint. 2.1 hours. SPA: Create Dataset Form GREI Re-arch GREI re-architecture-related Original size: 3 labels Oct 21, 2024
@coveralls
Copy link

coveralls commented Oct 21, 2024

Coverage Status

coverage: 97.518% (-0.9%) from 98.403%
when pulling 97ae0bd on 510/prefill-depositor-name-and-date
into 31c2d49 on develop.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
GREI Re-arch GREI re-architecture-related Original size: 3 Size: 3 A percentage of a sprint. 2.1 hours. SPA: Create Dataset Form
Projects
Status: Ready for Review ⏩
Development

Successfully merging this pull request may close these issues.

Pre populate depositor name and date of deposit on dataset creation
2 participants