Skip to content

Add dedicated objective editor view for admins - #6377

Draft
BarryNorfolk wants to merge 19 commits into
DeltaV-Station:masterfrom
BarryNorfolk:admin/objective_menu
Draft

Add dedicated objective editor view for admins#6377
BarryNorfolk wants to merge 19 commits into
DeltaV-Station:masterfrom
BarryNorfolk:admin/objective_menu

Conversation

@BarryNorfolk

Copy link
Copy Markdown
Contributor

About the PR

Added an admin only Objective editor for curators/admins to use when creating new objectives for users, or simply updating them.

N.b. Updating the checks (the thing that greentexts or not) is well beyond me at this point as they are only ever on the server and generally don't get passed/shown to the user. I'd have to effectively replicate some aspect of the vv menu in order to show something mildly useful. Right now this can just serve to help people do their objective work a little easier.

Why / Balance

Because the alternative is 4 vv calls or using vvwrite which can crash the server if done wrong. Easier to just let users have good tools to do what they need to.

Technical details

TODO

Media

The base UI
image

Adding a default new Objective
image

A dedicated Sprite selector for icons
image

Custom objective reflected in character info
image

(*) in the title shows that there are unsaved edits
image

An optional popup for when the objectives are saved for the user
image

Requirements

  • I have tested all added content and changes.
  • I have added media to this PR or it does not require an in-game showcase.

Licensing

Changelog
Nothing user facing

@github-actions github-actions Bot added size/XL Over 1024 lines S: Needs Review Awaiting review from a Maintainer Changes: YML Changes any yml files Changes: UI Changes: C# Changes any cs files Changes: Localization Changes any ftl files and removed S: Needs Review Awaiting review from a Maintainer size/XL Over 1024 lines labels Jul 23, 2026
@BarryNorfolk BarryNorfolk changed the title Admin/objective menu Add dedicated objective editor view for admins Jul 23, 2026
{
base.Opened();

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Untouch

@github-actions github-actions Bot added the size/XL Over 1024 lines label Jul 23, 2026
}

var successRate = totalObjectives > 0 ? (float) completedObjectives / totalObjectives : 0f;
var successRate = totalObjectives > 0 ? (float)completedObjectives / totalObjectives : 0f;

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Untouch

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Changes: C# Changes any cs files Changes: Localization Changes any ftl files Changes: UI Changes: YML Changes any yml files size/XL Over 1024 lines

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant