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

support generic input/textarea field when assigning a ticket #46

Closed
syjer opened this issue Apr 7, 2015 · 4 comments
Closed

support generic input/textarea field when assigning a ticket #46

syjer opened this issue Apr 7, 2015 · 4 comments

Comments

@syjer
Copy link
Member

syjer commented Apr 7, 2015

Currently we support (and they are always visible) the following optional fields:

  • Job title
  • Company
  • Phone number
  • Address
  • Country
  • T-Shirt size
  • Notes

We should let the admin decide:

  • the fields (name (multilanguage!), type (simple text, checkbox, radio, select, country), optional), their order.

⚠️ this task has an heavy impact on the DB schema

@syjer
Copy link
Member Author

syjer commented May 30, 2015

datamodel:

table ticket_field_configuration

  • id
  • event_id_fk
  • field_name : varchar
  • order: int
  • field_type (boolean, text, textarea, select, select_country) : enum
  • field_restricted_values (for select, serialized json array) : text
  • maxlength
  • minlength
  • required : boolean

table ticket_field_description

  • ticket_field_configuration_id_fk
  • locale
  • description

table ticket_field_value

  • id
  • ticket_field_configuration_id_fk
  • value

@syjer syjer self-assigned this Jun 27, 2015
@syjer syjer modified the milestones: 1.5, BackLog Jun 27, 2015
syjer added a commit that referenced this issue Aug 24, 2015
@syjer
Copy link
Member Author

syjer commented Aug 24, 2015

TODO:

  • schema change
  • model + repository + service layer
  • update admin
    • update ui on creation
    • add server side validation (complete events/check)
    • implement ui on event update
  • update user facing ui
  • cleanup/migration schema

@cbellone cbellone modified the milestones: 1.6, 1.5 Sep 4, 2015
syjer added a commit that referenced this issue Oct 15, 2015
 - migration scripts
 - business logic
 - user facing ui
 - still missing: event configuration ui
syjer added a commit that referenced this issue Nov 1, 2015
syjer added a commit that referenced this issue Nov 2, 2015
syjer added a commit that referenced this issue Nov 2, 2015
syjer added a commit that referenced this issue Nov 2, 2015
cbellone added a commit that referenced this issue Nov 7, 2015
syjer added a commit that referenced this issue Nov 9, 2015
@syjer
Copy link
Member Author

syjer commented Nov 22, 2015

can be considered done.

@syjer syjer closed this as completed Nov 22, 2015
@praburajaraman
Copy link

optional fields selected in admin ui is not showing in user reservation UI

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

No branches or pull requests

3 participants