Skip to content

add manual release date editor#262

Merged
DecDuck merged 3 commits into
Drop-OSS:developfrom
laylafogiel-hash:release-date-editor
Nov 6, 2025
Merged

add manual release date editor#262
DecDuck merged 3 commits into
Drop-OSS:developfrom
laylafogiel-hash:release-date-editor

Conversation

@laylafogiel-hash
Copy link
Copy Markdown
Contributor

This is how it looks:

image

@DecDuck
Copy link
Copy Markdown
Member

DecDuck commented Oct 13, 2025

So this just uses the browser's date selector?

@laylafogiel-hash
Copy link
Copy Markdown
Contributor Author

yap. Any other suggestions?

@DecDuck
Copy link
Copy Markdown
Member

DecDuck commented Oct 13, 2025

The core metadata stuff is part of the modal that popups when you press edit. Either you can move the release date editor to the modal, or (preferred), use an equivalent of this statement:

watch(
  currentTags,
  async (v) => {
    await $dropFetch(`/api/v1/admin/game/:id/tags`, {
      method: "PATCH",
      params: {
        id: game.value.id,
      },
      body: { tags: Object.keys(v) },
      failTitle: "Failed to update game tags",
    });
  },
  { deep: true },
);

to update it when the user changes it, immediately.

@DecDuck
Copy link
Copy Markdown
Member

DecDuck commented Oct 23, 2025

After the lint passes, this looks good to merge

@DecDuck DecDuck merged commit 289034d into Drop-OSS:develop Nov 6, 2025
2 checks passed
Huskydog9988 pushed a commit to Huskydog9988/drop that referenced this pull request Apr 16, 2026
* add manual release date editor

* watch() releaseDate instead of relying on coreMetadata updates

* make linter happy

---------

Co-authored-by: udifogiel <udifogiel@proton.me>
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.

3 participants