Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Calibrate timestamp field UI tweak #4992

Open
wants to merge 8 commits into
base: main
Choose a base branch
from

Conversation

Tom-Szendrey
Copy link
Contributor

@Tom-Szendrey Tom-Szendrey commented Sep 30, 2024

Description

  1. anything that has the model field timestamp is in its own table for the user's clarity as per designs (see pics below)
  2. When we create a node or hit delete all mappings we will keep a mapping for timestamp
  3. On open node try to fill in the timestamp column if its not yet filled in. We will look for the first thing that starts with "time"
  4. adding an ID to the mapping for correct deleting despite the multiple tables and filters

Warning:

This updates the state object for calibration so older calibration nodes will run into issues with their mappings.

Pics

image

With designs here: https://www.figma.com/design/SLO56PGmGq7kFQRFCeaPsY/Terarium---September-2024?node-id=235-584&node-type=canvas&t=3E0tQ1xlWHmsXuxp-0

…S/4904-calibrate-timestamp-field-ui-tweak
Copy link
Member

@YohannParis YohannParis left a comment

Choose a reason for hiding this comment

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

LGTM

<span class="column-header"></span>
</template>
<template #body="{ data }">
<Button class="p-button-sm p-button-text" icon="pi pi-trash" @click="deleteMapRow(data.id)" />
Copy link
Contributor

Choose a reason for hiding this comment

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

I don't think time should have a delete button, designs don't have it

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.

4 participants