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

Implement ProductSelect component; allow draft authors to edit their productArea #109

Merged
merged 136 commits into from
Jun 7, 2023

Conversation

jeffdaley
Copy link
Contributor

@jeffdaley jeffdaley commented Mar 28, 2023

  • Adds the ability to edit the productArea of a draft via the sidebar.
  • Updates the new doc form to use the new ProductSelect component.
  • Expands Mirage and test coverage

@jeffdaley jeffdaley changed the title WIP: Allow draft authors to edit their product area Allow draft authors to edit their product area Mar 30, 2023
@jeffdaley jeffdaley marked this pull request as ready for review March 30, 2023 19:49
@jeffdaley jeffdaley requested a review from a team as a code owner March 30, 2023 19:49
@jeffdaley jeffdaley changed the title Allow draft authors to edit their product area WIP: Allow draft authors to edit their product area Apr 5, 2023
@jeffdaley jeffdaley marked this pull request as draft April 5, 2023 18:38
@jeffdaley jeffdaley force-pushed the jeffdaley/change-product-area branch from e1a4f42 to 7b9a5ea Compare April 11, 2023 19:01
@jeffdaley jeffdaley force-pushed the jeffdaley/change-product-area branch from 5779c22 to a687fc4 Compare June 2, 2023 19:54
@jeffdaley jeffdaley force-pushed the jeffdaley/change-product-area branch from a687fc4 to 0ae754f Compare June 2, 2023 19:56
@jeffdaley jeffdaley marked this pull request as ready for review June 2, 2023 20:01
@jeffdaley jeffdaley changed the title WIP: Allow draft authors to edit their product area Implement ProductSelect component; allow draft authors to edit their productArea Jun 2, 2023
Copy link
Contributor

@jfreda jfreda left a comment

Choose a reason for hiding this comment

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

Nice, just one (non-blocking) question

web/app/components/document/sidebar.js Outdated Show resolved Hide resolved
@jeffdaley jeffdaley merged commit 659f949 into main Jun 7, 2023
1 check passed
@jeffdaley jeffdaley deleted the jeffdaley/change-product-area branch June 7, 2023 14:24
anuragprafulla pushed a commit to razorpay/hermes that referenced this pull request Jun 27, 2023
…productArea (hashicorp-forge#109)

* Add product dropdown to draft template

* Add tests

* Start of custom popover

* Start generic popover component

* Organization

* Maybe In Element

* More API development

* Fix type errors

* Additional component work

* Progress

* Start of keyboard nav hookup

* UX improvements, experiments

* WIP - IDs

* Minor refactor and cleanup

* Update list.hbs

* Reorganize FloatingUI components

* Update content.ts

* Improve loading strategy

* Add `ember-element-helper`

* Refactor dropdown list container

* Template tweaks

* Template and CSS cleanup

* CSS cleanup

* API tweak

* Rename files

* Rearrange files

* Update index.hbs

* Yield items to main component

* Port facetDropdown to new Listbox

* Yielded components; general refactors

* Toggle components

* Improved saving state

* Class rearranging

* Add sortBy component

* Remove unused files

* Update syntax

* Improve tests passing

* Update tests

* FloatingUI API tweaks

* Tweak FUI

* Delete playground.hbs

* Update config.ts

* Rename/reorg

* Remove references to `f.content`

* Add comments to index

* Additional classes and documentation

* Clean up FacetDropdown

* Move FacetDropdown tests to DropdownListIndex

* Add aria test

* Test Keyboard navigation

* Test Enter key

* Add keyboard tests

* ToggleButton test

* LinkTo, CheckableItem tests

* CSS tweaks

* Update list.scss

* Add ToggleSelect and update NewDocForm

* Improvements around productAbbreviations

* Update checkable-item-test.ts

* Fix scrolling issue

* Update index.ts

* Stop propigation on the DropdownList

* Add product abbreviation to dropdown

* Tweaked ProductDropdown

* Improve ProductSelect dropdown

* Replace ToggleSelect

* Delete toggle-select.hbs

* Clean up FloatDown API

* Replace FacetDropdowns

* Improve styling

* Add support for offset

* Add and test LinkTo helpers

* Tweak types, Glint boilerplate

* Improve saving state

* Cleanup

* Glint-related updates

* Glint types, todo test

* Start of badgeDropdownList tests

* Move tests to acceptance

* Simplify glint-nochecks

* Fix broken tests

* Remove old code

* Test fixes and improvements

* File renames

* Update docNumber function

* Update badge-dropdown-list-test.ts

* Update checkable-item.hbs

* Update item.ts

* BadgeDropdownList component

* BadgeDropdownList component

* Add custom-item test

* Remove unnecessary comment

* Update list-item.scss

* Resolve merge conflict

* ProductSelect component

* Add list item tests

* Tests, styles, cleanup

* Add onChange test

* Pass @ICON into component

* Remove unused property

* Remove unused property

* Revert unintended change

* Padding tweak; Prettier

* Fix failing tests

* CSS tweaks

* Cleanup and height tweaks

* Class cleanup

* Remove unnecessary property
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants