Commit ece362a
authored
chore(coder plugin): make template names optional (#103)
* wip: update type definitions and parsing logic for config values
* refactor: update some code for clarity
* fix: update property names in top-level config
* wip: commit progress on link update
* chore: finish updates for CreateWorkspaceLink
* chore: add new test case for disabled state
* fix: cleanup markup and text for EntityDataReminder
* chore: add readEntityData as context value
* refactor: rename DataEntityReminder to ReminderAcoordionItem
* chore: extract core accordion item logic to parent
* chore: finish initial version of ReminderAccordion
* wip: commit test stubs for ReminderAccordion
* chore: rename isReadingEntityData prop
* chore: update mock context values in tests
* wip: commit test stub for hiding cta button when there is no repo URL
* chore: hide CTA button when there is no repo URL
* chore: rename AccordionItem to Disclosure
* chore: update tests for Disclosure
* chore: remove needless hasAssertions calls
* fix: update conditional logic for ReminderAccordion
* fix: more accordion bug fixes
* chore: finish another test case
* chore: add another accordion test case
* refactor: rename props for clarity
* refactor: simplify condition for entity reminder
* refactor: update prop for Disclosure
* chore: finish all tests for accordion
* refactor: update type definition for mock config
* refactor: polish up accordion tests
* chore: finish up all tests
* fix: add missing property to mock setup to help compiler pass
* refactor: move isReadingEntityData property to workspaces config
* fix: add overflow-y and max height behavior to accordion
* chore: polish styling for accordion
* fix: add reminder accordion as exported plugin component
* refactor: rename imported component to reduce visual noise when reading
* fix: make no-link message more clear for button
* fix: update text to account for new tooltip
* docs: add page about catalog-info
* docs: finish all docs updates for coder plugin
* docs: add docs section for ReminderAccordion
* fix: update link for documentation in UI1 parent 6c050f1 commit ece362a
File tree
30 files changed
+989
-314
lines changed- packages/app/src/components/catalog
- plugins/backstage-plugin-coder
- dev
- docs
- src
- components
- CoderAuthWrapper
- CoderErrorBoundary
- CoderProvider
- CoderWorkspacesCard
- Disclosure
- InlineCodeSnippet
- hooks
- testHelpers
30 files changed
+989
-314
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
137 | 137 | | |
138 | 138 | | |
139 | 139 | | |
140 | | - | |
141 | | - | |
| 140 | + | |
| 141 | + | |
142 | 142 | | |
143 | 143 | | |
144 | 144 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
28 | 28 | | |
29 | 29 | | |
30 | 30 | | |
31 | | - | |
| 31 | + | |
32 | 32 | | |
33 | 33 | | |
34 | 34 | | |
35 | 35 | | |
36 | 36 | | |
37 | | - | |
| 37 | + | |
38 | 38 | | |
| 39 | + | |
39 | 40 | | |
40 | | - | |
| 41 | + | |
41 | 42 | | |
42 | 43 | | |
43 | 44 | | |
44 | 45 | | |
45 | 46 | | |
46 | | - | |
| 47 | + | |
47 | 48 | | |
48 | 49 | | |
49 | 50 | | |
| |||
58 | 59 | | |
59 | 60 | | |
60 | 61 | | |
61 | | - | |
62 | | - | |
| 62 | + | |
| 63 | + | |
63 | 64 | | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
68 | 70 | | |
| 71 | + | |
69 | 72 | | |
70 | 73 | | |
71 | 74 | | |
| |||
88 | 91 | | |
89 | 92 | | |
90 | 93 | | |
91 | | - | |
| 94 | + | |
92 | 95 | | |
93 | 96 | | |
94 | 97 | | |
| |||
101 | 104 | | |
102 | 105 | | |
103 | 106 | | |
| 107 | + | |
| 108 | + | |
| 109 | + | |
| 110 | + | |
| 111 | + | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
| 116 | + | |
| 117 | + | |
| 118 | + | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
| 122 | + | |
| 123 | + | |
| 124 | + | |
| 125 | + | |
| 126 | + | |
| 127 | + | |
| 128 | + | |
| 129 | + | |
| 130 | + | |
| 131 | + | |
| 132 | + | |
| 133 | + | |
104 | 134 | | |
105 | 135 | | |
106 | 136 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
24 | 24 | | |
25 | 25 | | |
26 | 26 | | |
27 | | - | |
28 | | - | |
| 27 | + | |
| 28 | + | |
29 | 29 | | |
30 | 30 | | |
31 | 31 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
| 49 | + | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
| 56 | + | |
| 57 | + | |
| 58 | + | |
| 59 | + | |
0 commit comments