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

FEATURE: Add menu to assigned text on posts #550

Merged
merged 9 commits into from
Mar 15, 2024

Conversation

AndrewPrigorshnev
Copy link
Contributor

@AndrewPrigorshnev AndrewPrigorshnev commented Mar 1, 2024

This adds a popup menu to assigned posts that makes it easier to unassign or reassign them:

Screenshot 2024-03-08 at 00 22 23

It was pretty difficult to write the tests. I've been trying both acceptance and system specs and decided to stick with acceptance tests, though one acceptance spec is still not passing, and I skipped it for now. We'll be adding more similar menus in following PRs, and I'm going to invest more time into tests stability while working on that.

I haven't included the system specs I wrote into this PR for now (they don't pass) but we may decide to use them, let's see how adding other menus in following PRs will go.

@AndrewPrigorshnev AndrewPrigorshnev force-pushed the feature/add-menu-to-assigned-text-on-posts branch 6 times, most recently from e2b9912 to 065a7f8 Compare March 7, 2024 16:52
@AndrewPrigorshnev AndrewPrigorshnev force-pushed the feature/add-menu-to-assigned-text-on-posts branch 3 times, most recently from 009d94d to 306a155 Compare March 7, 2024 18:59
@AndrewPrigorshnev AndrewPrigorshnev force-pushed the feature/add-menu-to-assigned-text-on-posts branch from 306a155 to a5c1cbc Compare March 7, 2024 19:02
@AndrewPrigorshnev AndrewPrigorshnev changed the title feature/add menu to assigned text on posts FEATURE: Add menu to assigned text on posts Mar 7, 2024
@AndrewPrigorshnev AndrewPrigorshnev force-pushed the feature/add-menu-to-assigned-text-on-posts branch from a5c1cbc to e780f3e Compare March 7, 2024 19:16
@AndrewPrigorshnev AndrewPrigorshnev marked this pull request as ready for review March 7, 2024 20:34
@AndrewPrigorshnev AndrewPrigorshnev force-pushed the feature/add-menu-to-assigned-text-on-posts branch from e780f3e to f5f3475 Compare March 7, 2024 20:35
@AndrewPrigorshnev
Copy link
Contributor Author

cc @chapoi a bit of CSS – f5f3475

</a>

<DMenu @icon="ellipsis-h" class="btn-flat more-button">
<div class="popup-menu">
Copy link
Contributor

Choose a reason for hiding this comment

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

is this necessary ?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Yes, we need that to style the popup menu appropriately.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

(DMenu doesn't provide that)

@AndrewPrigorshnev
Copy link
Contributor Author

@jjaffeux, I'm ready to merge it as soon as you approve.

@jjaffeux
Copy link
Contributor

@jjaffeux, I'm ready to merge it as soon as you approve.

approved!

@AndrewPrigorshnev AndrewPrigorshnev merged commit b09a661 into main Mar 15, 2024
5 checks passed
@AndrewPrigorshnev AndrewPrigorshnev deleted the feature/add-menu-to-assigned-text-on-posts branch March 15, 2024 14:30
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants