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

14260 mark hidden questions for LS4 #1283

Closed

Conversation

mbischof
Copy link
Contributor

Fixed issue # :
New feature # :
Changed feature # :
Dev:
Dev:

@maziminke maziminke requested a review from lacrioque May 22, 2019 09:59
@maziminke
Copy link
Collaborator

@lacrioque Can you please check if this looks fine and then merge?
Thanks!

@Shnoulle
Copy link
Collaborator

Can you explain the exact feature here ?

Is this related to such feature : #1258 ?

PS : i don't update this feature when i can test Hidden attribute by Expression + hide with css or HTML …

@Shnoulle
Copy link
Collaborator

OK, checked : i‘m totally against this commit : only using color/opacity is reall a bad solutiuon.

See my proposal
Capture d’écran du 2019-05-22 12-20-42

Copy link
Collaborator

@Shnoulle Shnoulle left a comment

Choose a reason for hiding this comment

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

Must have text : we already add the error text because using only CSS color is bad in 2.05, don't reproduce same issue.

An,d since we have bootsrap : using only bootsrap css/tag is the best solution.

@Shnoulle
Copy link
Collaborator

And nned screenshot.

Ps : if you show it elsewhere : i think we must show EM error before hidden or not …

@maziminke
Copy link
Collaborator

This is the related bugtracker ticket: https://bugs.limesurvey.org/view.php?id=14260

As outlined before, we simply add a CSS class which allows users to mark hidden questions at their admin theme. Nothing more, nothing less.
We do NOT add any colors or the like so I don't agree to your objections.

@Shnoulle
Copy link
Collaborator

Shnoulle commented May 22, 2019

Then : i don't really understand the point …

Usage of text and/or data-attribute-hidden and/or information on title is best.

And since css3 is great [data-attribite-hidden]{color: red} do the trick for admin template

@Shnoulle
Copy link
Collaborator

If it's for adding CSS/data- in left part : need

  1. Question type class/data (i need it …)
  2. Hidden attribute
  3. Random group attribute (i need it …)
  4. Have or not condition/expression

@lacrioque
Copy link
Contributor

I will close this and reapply it without so many unecessary whitespace changes.
Also data-attributes are applied to the question blocks.

@lacrioque lacrioque closed this Jul 15, 2019
Copy link
Contributor

@lacrioque lacrioque left a comment

Choose a reason for hiding this comment

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

See closing message

@Shnoulle
Copy link
Collaborator

Yep data-attributes is great :)

I must find a way for random-group for a client now …

@Shnoulle
Copy link
Collaborator

@lacrioque : one think more needed maybe : EM error inside question ?
More PHP time consuming maybe … but things it's more needed than other one.

@mbischof mbischof deleted the 14260-mark-hidden-questions branch January 18, 2020 17:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
4 participants