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

[TASK]: Only display "Report an error" on Open datasets #456

Merged
merged 6 commits into from
Dec 12, 2023

Conversation

KobikahChandran
Copy link
Collaborator

What this PR accomplishes

"Report an error with this data" banner only appears when the dataset is Open

Issue(s) addressed

DATA-1348

What needs review

If the dataset is Open, the banner is at the bottom of the page.
If the dataset is either Under Review or Restricted, the banner does not appear.

@aimalkhan
Copy link
Collaborator

@Alexandra-Green is this PR dealing with just 1348? seems like there are commits from two different people in there.

@aleeexgreeen
Copy link
Contributor

@aimalkhan it's because it's going into main instead of develop. Can we change the default for merges to go into develop?

@aimalkhan
Copy link
Collaborator

@aimalkhan it's because it's going into main instead of develop. Can we change the default for merges to go into develop?

That will require changing the Default branch setting, which causes issues like the branch shown on front page or cloned by default to also change

Uploading image.png…

@aleeexgreeen aleeexgreeen removed their assignment Dec 11, 2023
@aleeexgreeen aleeexgreeen changed the base branch from main to develop December 11, 2023 15:19
@KatiRG KatiRG added the 2.1.14 label Dec 11, 2023
Copy link
Contributor

@aleeexgreeen aleeexgreeen left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good!

@aleeexgreeen aleeexgreeen merged commit 12b3e65 into develop Dec 12, 2023
@aleeexgreeen aleeexgreeen deleted the DATA-1348 branch December 12, 2023 18:38
@aimalkhan aimalkhan added 2.1.12 and removed 2.1.14 labels Jan 2, 2024
@sdpaul0 sdpaul0 mentioned this pull request Jan 5, 2024
aimalkhan pushed a commit that referenced this pull request Jan 5, 2024
Release v2.1.12 includes the following features:
* SEO improvement to use ld+json #455 #466
* Search improvements #464
* UI Changes and Fixes #456 #458 #459 #468 #463 #462
* Accessibility improvements #461
@sdpaul0 sdpaul0 mentioned this pull request Jan 5, 2024
sdpaul0 pushed a commit that referenced this pull request Jan 5, 2024
* Displays report an error form only when there are resources

* <Should only show Report an Error message if the resource is Open>

* Checks if both the resouce and package are Open to post the Report an Error banner

* Changed the line so it checks the dataset's access level
sdpaul0 added a commit that referenced this pull request Jan 5, 2024
Release v2.1.12 includes the following features:
* SEO improvement to use ld+json #455 #466
* Search improvements #464
* UI Changes and Fixes #456 #458 #459 #468 #463 #462
* Accessibility improvements #461
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants