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

feat: date validity in Alert block #795

Merged
merged 17 commits into from
Oct 31, 2024
Merged

feat: date validity in Alert block #795

merged 17 commits into from
Oct 31, 2024

Conversation

Wagner3UB
Copy link

  • Aggiunti campi per compilare la data di inizio e fine per un unico blocco Alert.
  • Aggiunto una riga per far vedere le date impostati e se è ATTIVO, SCADUTO o FUTURO, e le date d'inizio e fine se impostati.
  • Aggiunto logica per sempre far vedere agli utenti autenticati la riga con le informazioni, anche in View. Le info non si vedono da anonimo.

View autenticato:
screencapture-localhost-3000-pagina-test-wt-alert-new-block-with-dates-2024-10-28-10_10_32

Edit:
Schermata 2024-10-28 alle 10 11 17

View anonimo
Schermata 2024-10-28 alle 10 11 37

@Wagner3UB Wagner3UB added enhancement New feature or request v2 labels Oct 28, 2024
@Wagner3UB Wagner3UB self-assigned this Oct 28, 2024
src/components/ItaliaTheme/Blocks/Alert/Edit.jsx Outdated Show resolved Hide resolved
src/components/ItaliaTheme/Blocks/Alert/Edit.jsx Outdated Show resolved Hide resolved
src/components/ItaliaTheme/Blocks/Alert/dateUtils.js Outdated Show resolved Hide resolved
src/components/ItaliaTheme/Blocks/Alert/dateUtils.js Outdated Show resolved Hide resolved
src/components/ItaliaTheme/Blocks/Alert/Sidebar.jsx Outdated Show resolved Hide resolved
src/components/ItaliaTheme/Blocks/Alert/Sidebar.jsx Outdated Show resolved Hide resolved
src/components/ItaliaTheme/Blocks/Alert/Sidebar.jsx Outdated Show resolved Hide resolved
Wagner3UB and others added 5 commits October 28, 2024 14:10
Co-authored-by: Giulia Ghisini <51911425+giuliaghisini@users.noreply.github.com>
Co-authored-by: Giulia Ghisini <51911425+giuliaghisini@users.noreply.github.com>
Co-authored-by: Giulia Ghisini <51911425+giuliaghisini@users.noreply.github.com>
@giuliaghisini giuliaghisini changed the title feat: new alert block feat: date validity in Alert block Oct 30, 2024
@giuliaghisini giuliaghisini merged commit 069c248 into v2 Oct 31, 2024
4 checks passed
@giuliaghisini giuliaghisini deleted the new-alert-block branch October 31, 2024 11:50
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request v2
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants