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

feat: improve publication page #1238

Merged
merged 1 commit into from
Jun 7, 2024
Merged

Conversation

ReidyT
Copy link
Contributor

@ReidyT ReidyT commented May 16, 2024

Final Design

image

image image image

Demo

publish.mov
unpublish_and_outdated.mov
private_published.mov

@ReidyT ReidyT self-assigned this May 16, 2024
@ReidyT ReidyT force-pushed the 1220-improve-publication-page branch 2 times, most recently from 9f61832 to 734ed78 Compare May 17, 2024 14:44
@ReidyT ReidyT requested review from pyphilia and spaenleh May 23, 2024 13:35
@ReidyT ReidyT linked an issue May 24, 2024 that may be closed by this pull request
Copy link
Contributor

@pyphilia pyphilia left a comment

Choose a reason for hiding this comment

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

Just from viewing videos:

  • I understand it is legacy, but it's a bit strange tag and description need to be saved, while the others are auto save. Should we have tag and description be auto saved?
  • would be less a pain to add multiple tags at the same time, eventually a preview in the modal, and the close button to finish the operation.
  • have a feedback alert banner above publish button once the validate is done. Otherwise people might think nothing changed (I saw the chip changed, but that's a bit discrete). I think this banner can be displayed only if the validation just finished.
  • I didn't realise you could make it private after publication lol. Might be interesting to prevent changing visibility once the item is published. (can be another PR)

@ReidyT ReidyT closed this May 27, 2024
@ReidyT ReidyT reopened this May 27, 2024
@ReidyT ReidyT closed this May 28, 2024
@ReidyT ReidyT reopened this May 28, 2024
@spaenleh
Copy link
Member

@ReidyT Maybe to fix the regex issue you have with sonarCloud, you could use the validate method from uuid package ?

@ReidyT ReidyT closed this May 28, 2024
@ReidyT ReidyT reopened this May 28, 2024
@ReidyT ReidyT closed this May 28, 2024
@ReidyT ReidyT reopened this May 28, 2024
@ReidyT ReidyT force-pushed the 1220-improve-publication-page branch 2 times, most recently from dd8baf0 to 567e5ab Compare May 30, 2024 12:11
@ReidyT ReidyT closed this May 30, 2024
@ReidyT ReidyT reopened this May 30, 2024
@ReidyT ReidyT force-pushed the 1220-improve-publication-page branch 4 times, most recently from 62f91b9 to e73fedf Compare May 31, 2024 14:30
@ReidyT ReidyT requested a review from pyphilia June 3, 2024 06:15
Copy link
Contributor

@pyphilia pyphilia left a comment

Choose a reason for hiding this comment

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

Wow! Huge PR, it looks good, I like how you split your new files. Maybe it will be one day time to reorganize the folders, the day we don't work on big features on builder^^'

Just a glitch:
https://github.com/graasp/graasp-builder/assets/11229627/62ebd784-16e8-456c-95fa-dc64a2ec4472

Also it might be interesting to have tests for the hooks? if we go torward this nice way of splitting components.

src/components/common/DebouncedTextField.tsx Outdated Show resolved Hide resolved
src/components/common/DebouncedTextField.tsx Outdated Show resolved Hide resolved
src/components/common/MultiSelectChipInput.tsx Outdated Show resolved Hide resolved
src/components/common/ThumbnailUploader.tsx Outdated Show resolved Hide resolved
src/components/common/ThumbnailUploader.tsx Outdated Show resolved Hide resolved
src/langs/en.json Outdated Show resolved Hide resolved
src/langs/en.json Outdated Show resolved Hide resolved
src/langs/en.json Outdated Show resolved Hide resolved
src/langs/en.json Outdated Show resolved Hide resolved
src/components/context/DataSyncContext.tsx Show resolved Hide resolved
Copy link
Contributor

@pyphilia pyphilia left a comment

Choose a reason for hiding this comment

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

I've suggested minor changes, otherwise it's all good for me! 👍

src/components/context/DataSyncContext.tsx Outdated Show resolved Hide resolved
src/components/input/DebouncedTextField.tsx Outdated Show resolved Hide resolved
src/components/item/publish/ItemPublishTab.tsx Outdated Show resolved Hide resolved
src/components/thumbnails/ThumbnailUploader.tsx Outdated Show resolved Hide resolved
src/types/publication.ts Outdated Show resolved Hide resolved
- feat: add component test to the project
- feat: update notifier to enable or not the notifications
@ReidyT ReidyT force-pushed the 1220-improve-publication-page branch from b0786d1 to 7e892fe Compare June 7, 2024 08:35
Copy link

sonarqubecloud bot commented Jun 7, 2024

Quality Gate Passed Quality Gate passed

Issues
0 New issues
1 Accepted issue

Measures
0 Security Hotspots
No data about Coverage
2.5% Duplication on New Code

See analysis details on SonarCloud

@ReidyT ReidyT added this pull request to the merge queue Jun 7, 2024
Merged via the queue into main with commit 647d960 Jun 7, 2024
4 checks passed
@ReidyT ReidyT deleted the 1220-improve-publication-page branch June 7, 2024 09:36
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.

Improve the publication page
3 participants