feat: redesign the playground front-end#9
Merged
Conversation
…, spacing fixes, and animations
There was a problem hiding this comment.
Pull Request Overview
This PR redesigns the Nuxt Feature Flags Playground front-end by introducing a shared layout, cleaning up page templates, enhancing UI elements, adding a Beta modal, and improving SEO metadata.
- Added a new
default.vuelayout and applied it across the app viaapp.vue - Cleaned up individual pages (
index.vue,scheduled.vue), updated styles, and added a Beta feature modal - Inserted
useSeoMetacalls in multiple pages for SEO improvements
Reviewed Changes
Copilot reviewed 5 out of 5 changed files in this pull request and generated no comments.
Show a summary per file
| File | Description |
|---|---|
| playground/layouts/default.vue | New default layout with header, navigation, and footer |
| playground/app.vue | Wrapped <NuxtPage> in the new default layout |
| playground/pages/index.vue | Removed old header, styled buttons, added Beta modal, SEO metadata, and scoped styles |
| playground/pages/scheduled.vue | Updated heading style, removed unused import, added SEO metadata |
| playground/pages/protected.vue | Added SEO metadata |
Comments suppressed due to low confidence (2)
playground/pages/scheduled.vue:74
- The import 'useRuntimeConfig' is not used in this file; consider removing it to clean up unused imports.
import { useFeatureFlag, useRuntimeConfig } from '#imports'
playground/pages/index.vue:80
- The newly added Beta Feature Modal and its associated interactions are not covered by tests; consider adding unit or integration tests to verify its visibility toggling and content.
<!-- Modal -->
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
✅ PR Checklist
Please ensure the following before submitting your PR:
🔗 Linked Issue
No issue created.
📖 Description
This pull request enhances the structure and design of the Nuxt Feature Flags Playground by introducing a new default layout, improving UI elements, and adding SEO metadata. Below is a summary of the most significant changes grouped by theme:
Layout and Structure Updates:
defaultlayout inplayground/layouts/default.vuewith a responsive header, navigation, and footer. This layout is now used across the application, replacing redundant structure in individual pages (playground/app.vue,playground/layouts/default.vue, [1] [2].playground/pages/index.vueandplayground/pages/scheduled.vueto align with the new layout (playground/pages/index.vue, [1];playground/pages/scheduled.vue, [2].UI Enhancements:
playground/pages/index.vue, [1] [2].playground/pages/index.vue, playground/pages/index.vueL46-R42).Feature Additions:
playground/pages/index.vue, playground/pages/index.vueR79-R108).SEO Improvements:
useSeoMetadefinitions to multiple pages (playground/pages/protected.vue, [1];playground/pages/scheduled.vue, [2];playground/pages/index.vue, [3].Minor Adjustments:
ml-1to inlinecodeelements for better readability (playground/pages/index.vue, playground/pages/index.vueL23-R23).🚨 Breaking Changes
🧪 Type of Change
🧩 Additional Context
No additional context.