Hacktoberfest 2026: le issue che i maintainer hanno segnato per ottobre, aperte e adatte ai principianti. Sfoglia le issue Hacktoberfest

Add a 'template system'

Aperta
#622 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub

I maintainer di solito rispondono entro 1 giorno

Nessuno ha ancora preso questa issue.

Valutazione

Difficoltà
5/5
Tempo stimato
Più di una settimana
Idoneità per principianti
25/100
Tipo di issue
Funzionalità
Chiarezza
Abbastanza chiara
Stato di attività
Ferma
Stack tecnologico
php
Ambito
full-stack

Direzione di ricerca

Inizia esaminando la Chart Library esistente e il flusso di creazione di nuovi grafici, incluso il modo in cui vengono attualmente presentate le impostazioni dei grafici e la selezione della libreria. Il lavoro sarà completato quando saranno supportati il popup proposto per la creazione dei template, il menu dei template con ridenominazione/eliminazione e filtraggio, i template predefiniti e la selezione del template prima della personalizzazione.

Scritto dal modello di indicizzazione a partire dal testo della issue.

Descrizione

enhancement

Extra information in comment on Asana: https://app.asana.com/0/1129400186358085/1136357868952291


One issue that our users have is they are not aware of how much customization is already possible with the settings we provide, or they don't understand how they can leverage this to create more unique charts and tables.

To re-mediate that, we could add an intermediary step, in which users could select between 2-4 'templates' which would really just be different default settings for the chart they create. These would be created by us.

As we implement that, we might as well allow users to create their own templates, and our own 'default' templates would be handled the same way as user templates are.

Features to be added:

Create Template From Chart

We could simply add a button here: https://i.imgur.com/aHBMTBx.png

This button would open a popup where they can name the template, a submit and cancel button.

Template Menu

Under 'Chart Library', we could add a "Templates" menu. This menu would contain all user-created templates, and users would be able to either rename or delete those templates. It could use a similar interface to the library, with the ability to filter by type.

Default Templates

To showcase users the different possibilities with our charts, we should create some default templates as well for some of the charts. For example, we could show something like this for tables: https://imgur.com/KzqMXst

For the initial default templates, there should be around 3-6 per chart type. One default per library + all the variations. For you to import them, maybe I can create an instance that contains all the templates and export it for you.

Using Templates

The process would change to this, when creating a new chart:

1- User creates chart (unchanged, but we remove the library selection box)

1.5- User gets a selection screen in which they choose which template to base their chart on, they would be able to choose from either default templates or user templates.

2- Regular customization with the template's settings (unchanged, loads default information from template)

Lingua principale
PHP
Stelle
108
Fork
29
Merge medio
1g 5h
PR unite (30g)
8

Preparare l'ambiente

Come iniziare

  1. Leggi tutta la issue e poi la guida ai contributi del progetto.
  2. Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
  3. Fai un fork del repository e lavora su un branch.
  4. Apri una pull request che faccia riferimento al numero della issue.

Altre issue di Codeinwp/visualizer

Tutte le issue di Codeinwp/visualizer

Issue simili

Altre issue su PHP

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.