Skip to content

feat: improve dashboard header controls#162

Merged
JustAGhosT merged 1 commit into
mainfrom
agent/dashboard-header-controls
Jul 19, 2026
Merged

feat: improve dashboard header controls#162
JustAGhosT merged 1 commit into
mainfrom
agent/dashboard-header-controls

Conversation

@JustAGhosT

Copy link
Copy Markdown
Collaborator

Summary

  • reorganize the primary header into grouped dropdown navigation
  • add persisted Airtable and dark/light controls to the header
  • refresh the dashboard hero, summary cards, metrics table, and Airtable panel states

Validation

  • pnpm run type-check
  • pnpm run lint
  • pnpm run build
  • git diff --check
  • Playwright browser verification of header controls and dashboard rendering with local auth seeding

Notes

  • Excludes the unrelated Azure workflow change currently present in the local worktree.
  • Excludes generated Playwright/output artifacts.

@JustAGhosT
JustAGhosT marked this pull request as ready for review July 19, 2026 13:42

@chatgpt-codex-connector chatgpt-codex-connector Bot left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 8293365d65

ℹ️ About Codex in GitHub

Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".

const AIRTABLE_STORAGE_KEY = 'omnipost.airtableEnabled';

export function AirtableSection() {
const [enabled, setEnabled] = useState(true);

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 Badge Avoid fetching Airtable when disabled

When omnipost.airtableEnabled is already stored as false, this initial true render still mounts <AirtableIntegration /> for the first commit. Its child useEffect can start the Airtable request before this component's effect reads localStorage and hides the panel, so a user who disabled the header control still spends an Airtable/API-key-backed fetch on every dashboard load. Initialize from storage before rendering the integration, or gate the panel until the stored preference has been loaded.

Useful? React with 👍 / 👎.

@JustAGhosT
JustAGhosT merged commit 39cd10a into main Jul 19, 2026
7 checks passed
@JustAGhosT
JustAGhosT deleted the agent/dashboard-header-controls branch July 19, 2026 13:54
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