Commit Graph
8 Commits
Author SHA1 Message Date
matheus 8e941fe785 Add buttons to download and copy to clipboard content to TextEditor (#37333)
* Add editor buttons

* Set icon size

* Move downloadObject to OSS

* remove unused test-id

* Use values from theme

* Fix buttons positioning

* Convert jsx files to tsx

* Use const instead of var

* Add z-index to buttons

* Add license
2024-02-01 20:12:23 +00:00
fheinecke b178b8b732 Updated Teleport codebase to AGPL3 license (#35259)
Signed-off-by: Fred Heinecke <fred.heinecke@goteleport.com>
2023-12-01 17:48:14 +00:00
Grzegorz Zdunek 95996acb52 Add light & dark themes to YAML editor (#28378)
* Add data visualisation colors to theme

* Add YAML editor theme and use it

* Add new `ace-teleport` theme instead of overwriting `ace-monokai`

* In a standalone editor use `levels.sunken` background; when displayed inline, use `levels.deep`

* Remove unused component

* Remove custom class for `.ace-fold-widget` as it makes the folding arrow to always render in the "expanded" state
2023-06-28 16:55:59 +00:00
Jeff Pihach 991856e137 Added eslint rule to enforce the order of file imports (#1030)
* add import order lint rule.
* auto fix import order and spacing.
* prettier fix.
* manual fix of import order.
* update failing snapshots.
* bump e submodule for import order fixes.
2022-07-25 16:21:23 -06:00
Lisa Kim f681184bcc Increase token renewal threshold to 3 min (#242) 2021-03-09 10:10:57 -05:00
Lisa Kim 889d502601 Disable use of web workers in ace editor (#232)
Currently, we only use two modes JSON and YAML.
JSON is used as read only mode, and YAML doesn't utilize workers.
2021-02-25 13:04:55 -08:00
Alexey Kontsevoy e69d4e2042 Add initial BPF viewer implementation 2019-11-21 13:07:16 -05:00
Alexey Kontsevoy 5e0a948f19 Move code to this repo 2019-09-12 19:37:15 -04:00