Skip to content

Pathfinder add preview#78

Open
id141365154 wants to merge 11 commits intomainfrom
pathfinder-add-preview
Open

Pathfinder add preview#78
id141365154 wants to merge 11 commits intomainfrom
pathfinder-add-preview

Conversation

@id141365154
Copy link
Collaborator

2026-03-01.23.49.08.mov

Viktor Kulyabin and others added 11 commits February 28, 2026 19:13
- Add 'Global' option to endpoint select dropdowns to explicitly use global override
- Display active baseUrl under each select (global, custom, or empty)
- Ensure consistency between global override and endpoint-specific selects
- Global override now predetermines baseUrl for all endpoints with 'Global' selected
- Add GLOBAL_ENV_MARKER constant and utility functions for cleaner code
- Support reactive updates when global override value changes

Implements all requirements:
1. Selects show 'Global' option with special marker value
2. Global override predefines baseUrl for endpoints with 'Global' selected
3. Active baseUrl displayed below each select
4. Proper synchronization when global override changes

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
Updated UI panel with mobile support, drag-and-drop activation button, panel repositioning, dark theme, and UI bug fixes. Added global environment selection, active baseUrl display, synchronization for global overrides, and internal improvements including refactoring and build updates.
- Add safe-area-inset CSS variables initialization for notch and safe area support
- Update button position calculation to respect safe-area-inset on drag and initialization
- Ensure stored button position is validated against current viewport safe areas
- Button position is automatically clamped to visible area on page load and resize

Fixes button being hidden behind notch or beyond viewport edge on mobile devices.

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
- Move Tabs component above SearchInput for better UX
- Add SpecTabs (Overrides/Preview) inside SpecPanel
- Create SpecPreview component using @stoplight/elements for API documentation
- Store specDocument in TConfigs for preview rendering
- Add global and process polyfills for @stoplight/elements
- Increase size-limit to accommodate @stoplight/elements dependency
- Reset to Overrides tab on spec change
- Fix tab styling: use theme colors, reduce height (padding: 8px 12px)
- Fix InlineBadge: make it perfectly round (border-radius: 50%, width=height=20px)
- Fix upload icon visibility (use currentColor instead of black)
- Fix Tabs background color (use theme.colors.panel.surface)
- Fix arrow colors in selectboxes (EnvSelect, MethodSelect, TagSelect)

Co-Authored-By: Claude Haiku 4.5 <noreply@anthropic.com>
@changeset-bot
Copy link

changeset-bot bot commented Mar 1, 2026

🦋 Changeset detected

Latest commit: 962ae7a

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 2 packages
Name Type
@kode-frontend/pathfinder-web Minor
@kode-frontend/pathfinder-web-example Patch

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant