- Allow customSort field to use our own set of sort rules
- Allow disableFilter which is a flag to indicate
the caller of Table will handle their own filtering (eg. server side)
- Add non render flag to allow adding a key to be searcheable but not renderable
- Add searchAsRoles query param to get agents URL
- Add access request to top level navigation
- Put pluralize func in utils for re-use
* Updates e-ref
* We have a conflicting naming in that "Resource" types refer to
roles and connectors. We needed another type that distinguishes from
these for nodes, apps, dbs, kubes, desktops and we call them "Agents".
* Updates e-ref
Without --noEmit, tsc actually compiles TS files to regular JS, polluting
the working directory in some rare scenarios.
Prefixing scripts with `yarn` is not necessary, as both yarn and npm
add local node_modules/.bin to PATH when executing scripts.
At some point, we want to rename packages/teleterm to something else.
This script will enable our build scripts (see gravitational/teleport#12257)
to automatically pick up this change without requiring us to change
the build scripts as well.
* Create Pill component for Label manager component.
* Fixed some styling issues when using the Pill component.
* Initial layout for the Label Selector component.
* Add basic new label input scaffold
* Added label format validation and error message.
* When hitting enter or clicking add, add a label to the list.
* Added tooltip to add labels header.
* Support dismissing labels and focus the input when opening.
* Create clickoutside hook and use it in the label picker.
* Create and use a onescape hook in the label picker.
* Remove the temp ability to pass in existing labels.
* added tests for LabelSelector component
* fix validation regex to allow numbers hyphens and periods.
* remove incorrectly added component instance.
* do not use default imports and other tweaks.
* use flexbox instead of floats for label input labels.
* use utility methods for tests to make it easier to understand.
* remove remaining floats and some review cleanup.
* added missing license messages.
* Move useCallback usage into parent component from hook.
* Create/Use buttons for text button so users can focus with keyboard
* Various small tweaks
- Add a refocus indicator to FieldInput
- Tweaked StepSlider to handle edge cases like growing height
from error dialogues on initial render
- Pass on deviceName to reset endpoints
* Update e-ref
* Checkpoint with basic functional tab selector.
* Animate the selected highlight.
* Calculate the widths for the slider based on the number of tabs.
* Fix slider width for multiple tabs.
* Add story for SlideTabs.
* Added tests for the SlideTabs component.
* Make the onChange handler a required prop and add some comments.
- Display primary and secondary logins on different cards
- Use sliding transitions
- Allow to add passwordless device through dashboard
- Update e-ref
When a root cluster gets removed (the user logs out of it), we remove
resources related to it, so the `rootCluster` variable should never be
null at this point.
Commit 775fe4e64 fixed some reconnect issues, but it also introduced a
locally scoped `cluster` variable. This made it seem like it's the cluster
to which the given gateway belongs, but it was actually the root cluster.
This commit renames the old `cluster` variable to `rootCluster`. It also
makes sure that `workspaceDocumentsService.openNewTerminal` receives
correct root & leaf cluster IDs.