Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
40 commits
Select commit Hold shift + click to select a range
afe4784
feat: add weather widget feature with conditional rendering
py-dev-nandini-12 May 3, 2025
b241ca0
fix: update pnpm-lock.yaml to include new dependencies and versions
py-dev-nandini-12 May 3, 2025
2905a64
refactor: simplify Page component to conditionally render weather wid…
py-dev-nandini-12 May 3, 2025
f12b667
refactor: rename variable for clarity in Page component
py-dev-nandini-12 May 3, 2025
c6d375b
feat: implement Home component with weather widget conditional rendering
py-dev-nandini-12 May 3, 2025
41b9a6c
fix: update weather widget flag logic to always return false
py-dev-nandini-12 May 3, 2025
5c1e0a1
feat: implement flags and form submission logic with error handling
py-dev-nandini-12 May 3, 2025
6568502
fix: correct import path for weatherWidgetFlag in Home component
py-dev-nandini-12 May 3, 2025
37a5373
feat: enhance Home component with weather widget integration and impr…
py-dev-nandini-12 May 3, 2025
bcd7629
fix: correct import path for weatherWidgetFlag in Home component
py-dev-nandini-12 May 3, 2025
c37d6cc
refactor: simplify Home component by removing unused code and enhanci…
py-dev-nandini-12 May 3, 2025
958eab8
fix: update import path for weatherWidgetFlag in Home component
py-dev-nandini-12 May 3, 2025
511683a
Update page.tsx
py-dev-nandini-12 May 3, 2025
03ccddf
Update page.tsx
py-dev-nandini-12 May 3, 2025
44f34cf
Update weather-widget.tsx
py-dev-nandini-12 May 3, 2025
ee8fcfd
chore: add "use client" directive to WeatherWidget component
py-dev-nandini-12 May 3, 2025
8c2981b
Merge branch 'testing-vercel-flags' of github-personal:py-dev-nandini…
py-dev-nandini-12 May 3, 2025
5890b7f
chore: add initial configuration files for next.js application
py-dev-nandini-12 May 6, 2025
8bf3a63
feat: implement POST endpoint for form submission with validation
py-dev-nandini-12 May 6, 2025
c63ce03
refactor: remove unused POST handler from flags route
py-dev-nandini-12 May 6, 2025
245cc65
Implement code changes to enhance functionality and improve performance
py-dev-nandini-12 May 7, 2025
d52cf92
feat: add VercelToolbar component to layout for enhanced UI integration
py-dev-nandini-12 May 7, 2025
58b146e
refactor: update weatherWidgetFlag to use environment variable for fe…
py-dev-nandini-12 May 7, 2025
65611c5
feat: implement weatherWidgetFlag feature toggle using environment va…
py-dev-nandini-12 May 7, 2025
114e97d
refactor: update weatherWidgetFlag decision logic to use NEXT_PUBLIC_…
py-dev-nandini-12 May 7, 2025
746146a
refactor: conditionally render VercelToolbar based on environment for…
py-dev-nandini-12 May 7, 2025
75fc41b
feat: Add animation feature with toggle functionality
py-dev-nandini-12 May 7, 2025
38b0df0
refactor: simplify animationFeatureFlag decision logic to always retu…
py-dev-nandini-12 May 7, 2025
974c458
refactor: update weatherWidgetFlag implementation and enhance Home co…
py-dev-nandini-12 May 8, 2025
eecb3fb
refactor: remove unused animationFeatureFlag and reorganize flag imports
py-dev-nandini-12 May 8, 2025
edf6b37
fix: correct punctuation in Animation Feature OFF message
py-dev-nandini-12 May 8, 2025
178d607
refactor: remove unused route flags file
py-dev-nandini-12 May 8, 2025
48744e8
refactor: restore .last-run.json with initial test results structure
py-dev-nandini-12 May 8, 2025
1151226
Implement code changes to enhance functionality and improve performance
py-dev-nandini-12 May 15, 2025
ad03051
Merge branch 'main' into testing-vercel-flags
py-dev-nandini-12 May 15, 2025
9b055c2
feat: add enums for weather and animation statuses
py-dev-nandini-12 May 19, 2025
bf90d60
Merge branch 'testing-vercel-flags' of github-personal:py-dev-nandini…
py-dev-nandini-12 May 19, 2025
31ddee1
Implement code changes to enhance functionality and improve performance
py-dev-nandini-12 May 19, 2025
31dcabd
Refactor code structure for improved readability and maintainability
py-dev-nandini-12 May 19, 2025
a294c28
refactor: clean up whitespace in route handler
py-dev-nandini-12 May 19, 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
5 changes: 3 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,5 +40,6 @@ yarn-error.log*
*.tsbuildinfo
next-env.d.ts

tests/reports
playwright-report
tests/test-results
playwright-report
.env*.local
6 changes: 6 additions & 0 deletions flags.ts
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
import { flag } from "flags/next";

export const weatherWidgetFlag = flag<boolean>({
key: "weather-widget",
decide: () => process.env.NEXT_PUBLIC_FEATURE_X_ENABLED === "true",
});
3 changes: 2 additions & 1 deletion next.config.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,8 @@
import type { NextConfig } from "next";
import withVercelToolbar from "@vercel/toolbar/plugins/next";

const nextConfig: NextConfig = {
/* config options here */
};

export default nextConfig;
export default withVercelToolbar()(nextConfig);
Loading