Signal-K / client

Frontend for viewing citizen science proposals on Lens Protocol
https://starsailors.space
7 stars 5 forks source link

💋🐹 ↝ [SGV2-200]: Implement dialogue & mission fix #148

Closed Gizmotronn closed 1 month ago

Gizmotronn commented 1 month ago

Scope:

  1. Get users' missions and profiles.activeMissions to occur in the correct order
  2. Get CaptnCosmosGuideModal component to show the correct missions and subsequent components/tutorial content

Dialogue components are shown here:

image image image image

Current (draft) dialogue

"Initialise Chapter 1"** app/components/(scenes)/chapters/one/ChapterOneIntro.tsx

Welcome! You're now on your planet. Let's start doing some classifications. If you start something and don't like it, you'll then be able to change, so don't worry

Choose first classification

Your objective is to learn more about the different planets you visit and compare them to the rest of the galaxy as well as our home - Earth! You can choose different disciplines to explore, like terrain formation or how animals from Earth behave on planets with vastly different gravity; all contributions are valuable. To complete your planet, you'll need to perform a few different surveys, and then you're free to travel to other planets and learn more; if you'd like

Complete first classification

Now that you've chosen [ #Structure ] mission, you'll notice a new structure has appeared in your dashboard [the one that's bouncing]. You'll find all the data and information required to complete your mission there.


(Research structure appears after this point, but it has an inventory.configuration value of {"Uses": 0}).


Go mining

You'll notice that a Research Station has appeared, but before you can use it you'll need to find some iron to repair it. Head to your Automaton station (the one that's bouncing) to send your rovers out and find some iron

(Function to add 1 iron deposit to mineralDeposits for the user's anomaly if there isn't one already).

^187aab Tutorial text/dialogue for the mining action scene:

When you were setting up this planet, your rover found a few points of interest that are shown here. When mining, you choose the deposit that you'd like to mine from, and send an automaton out to collect the minerals. Later on you'll be able to upgrade your automatons to increase their speed or the resources they can mine and bring back to you. You should probably start with collecting some iron as you'll need that to repair your Research Station.

Repair research structure

By repairing the Research Station, you'll be able to unlock new technologies and things to explore. You've successfully mined some iron, which you can use to repair any kind of structure when its durability starts running low. Click on the structure and then navigate to the "Durability" field

Research a new technology

As you've been informed, we require you to conduct further investigations on your planet, so use the Research Station to unlock a new technology structure that you can then find some new objects to classify.

UI issues

Bugs ->

  1. CaptnCosmos stretches too far to the left

Huly®: STAR_-103

Gizmotronn commented 1 month ago

Some notes/tasks from my end: For SGV2-200 / #148:

  1. Fix mission order and profiles.activeMission values & discriminators
  2. Put dialogue and all components into the CaptnCosmos/Guidebot function, ensure user gets all required information and all actions (e.g. setting profiles.activeMission, completing #Classifications ) are possible
  3. Fix any layout/styling issues for guidebot [[^]]\ Add dialogue from [[Chapter 1]]
Gizmotronn commented 1 month ago

Supabase storage, python file to upload the buckets: https://github.com/Signal-K/sytizen/commit/58719716948a514cb8810eb6e45a8363c58352a4

anomalies table: Anomalies Rows.csv

Gizmotronn commented 1 month ago

https://github.com/Signal-K/sytizen/pull/49

Gizmotronn commented 1 month ago

Only thing left to do now is get that tutorial out there!