Skip to content
This repository has been archived by the owner on Sep 29, 2022. It is now read-only.

Add ReviewTags component #223

Open
nileshtrivedi opened this issue Nov 14, 2020 · 0 comments
Open

Add ReviewTags component #223

nileshtrivedi opened this issue Nov 14, 2020 · 0 comments

Comments

@nileshtrivedi
Copy link
Contributor

nileshtrivedi commented Nov 14, 2020

If you're logged-in and go to Random item page, you will see this tags-UI on the right side:
image

This needs to be re-implemented as an inline UI component with Tailwind CSS + AJAX. I don't think it will need any Javascript as such. Tailwind UI has a Basic ButtonGroup component which can be taken as the starting point.

image

The major enhancement needed here is that full page-refresh should not be necessary. Remote form should invoke XHR that gets update.js.erb which would replace this entire component with the updated state. (See, how we update the state in FiveStarComponent or SplitButtonComponent.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant