Skip to content

feat: add published status and action to publish or retract offline predictions#23

Open
superwaih wants to merge 4 commits intodevelopfrom
feat/wale-ai-predictions
Open

feat: add published status and action to publish or retract offline predictions#23
superwaih wants to merge 4 commits intodevelopfrom
feat/wale-ai-predictions

Conversation

@superwaih
Copy link
Collaborator

This PR is the implementation for this issue

This PR introduces a complete flow for publishing and retracting offline predictions, along with related UI, API, and status handling updates.

before

prediction-before.mov

after

prediction-after.mov

@superwaih superwaih requested a review from jeafreezy March 10, 2026 18:29
@vercel
Copy link

vercel bot commented Mar 10, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
f-a-ir Ready Ready Preview, Comment Mar 11, 2026 9:47am

Request Review

Copy link

@jeafreezy jeafreezy left a comment

Choose a reason for hiding this comment

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

Great work. Please attend to the comments, thanks.

}) => {
const { copyToClipboard } = useCopyToClipboard();
const { dropdownRef } = useDropdownMenu();
const [isPublishFlowOpen, setIsPublishFlowOpen] = useState(false);

Choose a reason for hiding this comment

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

Type this

cancelLabel?: string;
};

export const ConfirmationModal = ({

Choose a reason for hiding this comment

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

I feel the new modals are too wide on the desktop. You should reduce the width so it looks close to the design

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.

2 participants