-
Notifications
You must be signed in to change notification settings - Fork 97
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* WIP sidebar tweaks * Prototype success animation * Improved animations and icon-display logic * Prep for loading state * Update index.ts * Create index.hbs * Move folders * Popover tweak, type fixes * Cleanup, style tweaks * WIP Tooltip states * Improve most UX bugs * Add isSelected check * Copy and design tweaks * WIP: Tooltip delay * Add delay to tooltip * Reduce default delay * Cleanup and documentation * Cleanup and documentation * Add open animation * WIP tile styles * Update thumbnail.hbs * Badge style tweaks * Add default animation * Update tooltip.ts * Update sidebar.scss * Update sidebar.hbs * Basic wiring up * Update copyable URL (draft) * Add documentation to CopyURL * Revert out-of-scope changes * Revert drastic design changes * Rename a prop * Improve UI reactivity * Remove unused property * Remove unused import * Rename didInsert * Documentation and dasherize test * Remove old code, unused color variables * CSS tweak * Add CopyURLButton tests * Additional tests and cleanup * Fix failing tests
- Loading branch information
Showing
14 changed files
with
822 additions
and
93 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,14 +1,16 @@ | ||
{{! @glint-nocheck: not typesafe yet }} | ||
<Action | ||
data-test-copy-url-button | ||
data-test-url={{@url}} | ||
data-test-icon={{this.icon}} | ||
{{tooltip | ||
(if this.urlWasRecentlyCopied "Copied!" "Copy URL") | ||
placement=(or @tooltipPlacement "top") | ||
this.tooltipText | ||
placement=@tooltipPlacement | ||
isForcedOpen=this.tooltipIsForcedOpen | ||
stayOpenOnClick=true | ||
}} | ||
{{did-insert this.didInsertButton}} | ||
{{on "click" (perform this.copyURL)}} | ||
...attributes | ||
> | ||
<FlightIcon @name={{if this.urlWasRecentlyCopied "check" "link"}} /> | ||
<FlightIcon @name={{this.icon}} /> | ||
</Action> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.