Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
106 commits
Select commit Hold shift + click to select a range
ff13d84
feat: fetch/track projectKey
cspath1 Nov 13, 2025
6b04906
feat: update header to show project in SDK mode
cspath1 Nov 13, 2025
9b557e8
feat: improve UX by loading data after initial auth
cspath1 Nov 13, 2025
531a837
feat: improve ux
cspath1 Nov 13, 2025
ce7298d
Merge branch 'main' into cspath/REL-10665-display-flag-names
cspath1 Nov 14, 2025
29149af
feat: finish up with SDK mode changes
cspath1 Nov 14, 2025
ff38c82
feat: begin refactor of DevServerMode
cspath1 Nov 14, 2025
13b8c21
feat: DevServerMode works a little better
cspath1 Nov 14, 2025
f809ad1
refactor: minor cleanup
cspath1 Nov 14, 2025
bb2e6de
feat: Add LoginScreen for when the user is not authenticated
cspath1 Nov 14, 2025
1430b15
refactor: add an '!'
cspath1 Nov 14, 2025
16faec5
refactor: minor cleanup
cspath1 Nov 14, 2025
3ea2c4e
feat: Project selector now uses API
cspath1 Nov 14, 2025
2109726
refactor: remove console log
cspath1 Nov 14, 2025
13b1a84
feat: improve devservermode
cspath1 Nov 17, 2025
2f34ae9
fix: mostly fix tests
cspath1 Nov 17, 2025
34dcb6d
test: add tests for new functionality
cspath1 Nov 17, 2025
812a7de
fix: fix DevServerProvider bug + tests
cspath1 Nov 17, 2025
3bbb71b
feat: add Project Selector to SDK settings tab
cspath1 Nov 17, 2025
0e96711
feat: add mock auth server + fix e2e tests
cspath1 Nov 17, 2025
6cf48d9
docs: add doc for auth flow changes + assumptions
cspath1 Nov 17, 2025
a05b1d8
chore: run pnpm format
cspath1 Nov 17, 2025
fbc1163
Merge branch 'main' into cspath/REL-10665-display-flag-names
cspath1 Nov 17, 2025
a03a108
feat: update buildFlags + tests
cspath1 Nov 17, 2025
7547179
Merge branch 'cspath/REL-10665-display-flag-names' of github.com:laun…
cspath1 Nov 17, 2025
55bed15
feat: add infinite scroll + pagination
cspath1 Nov 17, 2025
4dec91c
feat: search driven by API
cspath1 Nov 18, 2025
129b885
feat: use debounced search term for API calls
cspath1 Nov 18, 2025
9a0598e
feat: remove temp settings option
cspath1 Nov 18, 2025
8a3bafe
feat: load flags on expand
cspath1 Nov 18, 2025
045d26a
chore: run pnpm format
cspath1 Nov 18, 2025
d0c203a
refactor: clean up
cspath1 Nov 18, 2025
972fe1b
feat: add prerelease for 2.0 version
cspath1 Nov 18, 2025
e6437f3
fix: add mouseDown back
cspath1 Nov 18, 2025
f5ee849
refactor: remove infinite scroll so it can be implemented later
cspath1 Nov 18, 2025
916358f
feat: display initial flag values while loading API flags
cspath1 Nov 18, 2025
fe143b7
test: fix failed test
cspath1 Nov 18, 2025
1064861
docs: update docs
cspath1 Nov 18, 2025
52b326c
test: fix e2e tests
cspath1 Nov 18, 2025
5ac3b84
feat: final cleanup
cspath1 Nov 18, 2025
9504e85
fix: fix pnpm build
cspath1 Nov 18, 2025
8587890
Merge branch 'main' into cspath/REL-10665-display-flag-names
cspath1 Nov 18, 2025
929853c
refactor: remove ts-ignore errors
cspath1 Nov 18, 2025
a912ff6
feat: add logout button + functionality + tests
cspath1 Nov 18, 2025
c6ef7c5
refactor: remove unused css class
cspath1 Nov 18, 2025
043697b
feat: add FlagKeyWithCopy component to wrap copy functionality in reu…
cspath1 Nov 18, 2025
f11d24d
feat: update UX for copying the flag key
cspath1 Nov 18, 2025
6da351d
feat: add analytics for keyboard copy
cspath1 Nov 18, 2025
ca2ff3b
feat: add analytics for logging in and closing the toolbar w/o loggin…
cspath1 Nov 18, 2025
b1c9d6c
Merge branch 'cspath/REL-10665-display-flag-names' into cspath/REL-10…
cspath1 Nov 18, 2025
2577e9f
feat: add analytics for tracking log out
cspath1 Nov 18, 2025
5a30b21
Merge branch 'cspath/REL-10849-add-logout-functionality' into cspath/…
cspath1 Nov 18, 2025
ab90228
refactor: address some PR feedback
cspath1 Nov 19, 2025
1c939db
refactor: clean up ApiProvider so it's more reusable
cspath1 Nov 19, 2025
b67539d
fix: fix antipattern
cspath1 Nov 19, 2025
92945f8
fix: fix other react antipattern
cspath1 Nov 19, 2025
9c133ba
fix: add unique requestIds to ApiProvider and ensure race condition i…
cspath1 Nov 19, 2025
d87136d
fix: don't load flags every time we switch to Flags tab
cspath1 Nov 19, 2025
6ec984d
refactor: refactor DevServerProvider so it's a bit more DRY
cspath1 Nov 19, 2025
2cc1580
refactor: address some more PR feedback
cspath1 Nov 19, 2025
d05e3e0
feat: add ExternalLinkIcon
cspath1 Nov 19, 2025
94b75a1
feat: add EnvironmentProvider + tests
cspath1 Nov 19, 2025
c043fc4
feat: store environment in localStorage so we can track changes/auto-…
cspath1 Nov 19, 2025
4f45012
feat: add ExternalLinkIcon to flag list items
cspath1 Nov 19, 2025
aab52ec
feat: add ExternalLink text + styling (still workshopping)
cspath1 Nov 19, 2025
c54d82e
feat: update UI elements to a point where it feels good
cspath1 Nov 19, 2025
0daf558
Merge branch 'main' into cspath/REL-10665-display-flag-names
cspath1 Nov 20, 2025
5f49552
feat: wire up link
cspath1 Nov 20, 2025
dbd7354
feat: environment selector + link
cspath1 Nov 20, 2025
012769f
refactor: remove launchpad icons dep
cspath1 Nov 20, 2025
77d709f
feat: [REL-10849] add logout functionality (#315)
cspath1 Nov 21, 2025
4267038
Merge branch 'cspath/REL-10665-display-flag-names' into cspath/REL-10…
cspath1 Nov 21, 2025
1b96d2d
Merge branch 'main' into cspath/REL-10665-display-flag-names
cspath1 Nov 21, 2025
ba12da4
Merge branch 'cspath/REL-10665-display-flag-names' into cspath/REL-10…
cspath1 Nov 21, 2025
0dff930
Merge branch 'cspath/REL-10578-copy-flag-key' into cspath/REL-10579-l…
cspath1 Nov 21, 2025
239a7a6
Merge branch 'main' into cspath/REL-10665-display-flag-names
cspath1 Nov 21, 2025
5d9f389
Merge branch 'cspath/REL-10665-display-flag-names' into cspath/REL-10…
cspath1 Nov 21, 2025
6dbce97
refactor: slight copy change
cspath1 Nov 21, 2025
920ed1c
fix: fix failing e2e tests
cspath1 Nov 21, 2025
0760867
Merge branch 'cspath/REL-10665-display-flag-names' into cspath/REL-10…
cspath1 Nov 21, 2025
4265512
Merge branch 'main' into cspath/REL-10579-link-to-flag-in-LD
cspath1 Nov 21, 2025
011be64
Merge branch 'cspath/REL-10578-copy-flag-key' into cspath/REL-10579-l…
cspath1 Nov 21, 2025
a24863b
feat: persist selected project to local storage
cspath1 Nov 21, 2025
d687f25
Merge branch 'cspath/REL-10665-display-flag-names' into cspath/REL-10…
cspath1 Nov 21, 2025
a860572
Merge branch 'cspath/REL-10578-copy-flag-key' into cspath/REL-10579-l…
cspath1 Nov 21, 2025
a09567c
Merge branch 'main' into cspath/REL-10665-display-flag-names
cspath1 Nov 21, 2025
329af42
Merge branch 'cspath/REL-10665-display-flag-names' into cspath/REL-10…
cspath1 Nov 21, 2025
c42de87
Merge branch 'main' into cspath/REL-10578-copy-flag-key
cspath1 Nov 24, 2025
788df52
Merge branch 'cspath/REL-10578-copy-flag-key' into cspath/REL-10579-l…
cspath1 Nov 24, 2025
3df4a6c
fix: clean up styling
cspath1 Nov 24, 2025
254973c
Merge branch 'main' into cspath/REL-10578-copy-flag-key
cspath1 Nov 25, 2025
f0b3030
refactor: change copy UX
cspath1 Nov 25, 2025
60f7fdb
refactor: remove unused icon
cspath1 Nov 25, 2025
ac92ecd
Merge branch 'cspath/REL-10578-copy-flag-key' into cspath/REL-10579-l…
cspath1 Nov 25, 2025
7ffba48
refactor: update link to be Flag Name
cspath1 Nov 25, 2025
a74ae43
refactor: update height
cspath1 Nov 25, 2025
3d6068b
refactor: update padding
cspath1 Nov 25, 2025
e95180a
feat: [REL-10666] Surface feature flag variations from API as selecta…
cspath1 Nov 25, 2025
9744e3d
refactor: minor cleanup
cspath1 Nov 25, 2025
ba0ed81
refactor: minor cleanup
cspath1 Nov 25, 2025
eb008ba
Merge branch 'cspath/REL-10578-copy-flag-key' into cspath/REL-10579-l…
cspath1 Nov 25, 2025
3b9aae3
feat: update override indicator and change row color for overriden flags
cspath1 Nov 25, 2025
dfcf489
fix: fix styling on hover for overrides
cspath1 Nov 25, 2025
90678c4
Merge branch 'main' into cspath/REL-10579-link-to-flag-in-LD
cspath1 Dec 1, 2025
8a640da
chore: run pnpm format
cspath1 Dec 1, 2025
3671f66
Merge branch 'main' into cspath/REL-10579-link-to-flag-in-LD
cspath1 Dec 1, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 0 additions & 2 deletions e2e/tests/sdk-mode.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -140,8 +140,6 @@ test.describe('LaunchDarkly Toolbar - SDK Mode', () => {

// 4. Test individual override removal
const booleanOverrideIndicator = page.getByTestId('flag-row-boolean-flag').getByTestId('override-indicator');
await booleanOverrideIndicator.hover();
await expect(page.getByTestId('flag-row-boolean-flag').getByText('Remove')).toBeVisible();
await booleanOverrideIndicator.click();

// Verify removal
Expand Down
14 changes: 13 additions & 1 deletion packages/toolbar/src/core/tests/DevServerProvider.test.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,19 @@ vi.mock('../services/FlagStateManager', () => {
});

// Create mock for getProjects that can be overridden in tests
const mockGetProjects = vi.fn().mockResolvedValue([{ key: 'test-project', name: 'Test Project' }]);
const mockGetProjects = vi.fn().mockResolvedValue({
items: [
{
key: 'test-project',
name: 'Test Project',
environments: [
{ _id: 'env-1', key: 'production', name: 'Production' },
{ _id: 'env-2', key: 'staging', name: 'Staging' },
{ _id: 'env-3', key: 'development', name: 'Development' },
],
},
],
});
const mockProjectKey = { current: 'test-project' };

// Mock the ProjectProvider
Expand Down
Loading
Loading