D19771: Use placeholder instead of label

2019-06-04 Thread Carl Schwan
ognarb abandoned this revision.
ognarb added a comment.


  I don't have time and the motivation for this revision anymore.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: dhaumann, cullmann, cfeck, loh.tar, ngraham, kwrite-devel, 
kde-frameworks-devel, LeGast00n, domson, michaelh, bruns, demsking, sars


D19771: Use placeholder instead of label

2019-05-26 Thread Christoph Cullmann
cullmann added a comment.


  I think then it is a bit inconsistent.
  Would it really be that confusing, given until you write your find/replace 
stuff inside, you have the labels?

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: dhaumann, cullmann, cfeck, loh.tar, ngraham, kwrite-devel, 
kde-frameworks-devel, domson, michaelh, bruns, demsking, sars


D19771: Use placeholder instead of label

2019-05-23 Thread Nathaniel Graham
ngraham added a comment.


  Hmm, now that you mention it, I agree.
  
  Maybe we can use placeholder text only for the quick find feature, but use 
labels for the advanced find-and-replace version?

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: dhaumann, cullmann, cfeck, loh.tar, ngraham, kwrite-devel, 
kde-frameworks-devel, domson, michaelh, bruns, demsking, sars


D19771: Use placeholder instead of label

2019-05-23 Thread Carl Schwan
ognarb added a comment.


  Hi, I try to find time to look into it this weekend ;).

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: dhaumann, cullmann, cfeck, loh.tar, ngraham, kwrite-devel, 
kde-frameworks-devel, domson, michaelh, bruns, demsking, sars


D19771: Use placeholder instead of label

2019-05-23 Thread Dominik Haumann
dhaumann added a comment.


  In D19771#468881 , @loh.tar wrote:
  
  > > Hi, any more feedback on this?
  >
  > When in power mode, and the fields are filled, it is not clear what which 
field is.
  
  
  I think this is a valid concern...

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: dhaumann, cullmann, cfeck, loh.tar, ngraham, kwrite-devel, 
kde-frameworks-devel, domson, michaelh, bruns, demsking, sars


D19771: Use placeholder instead of label

2019-05-22 Thread loh tar
loh.tar added a comment.


  > Hi, any more feedback on this?
  
  When in power mode, and the fields are filled, it is not clear what which 
field is.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: cullmann, cfeck, loh.tar, ngraham, kwrite-devel, kde-frameworks-devel, 
domson, michaelh, bruns, demsking, sars, dhaumann


D19771: Use placeholder instead of label

2019-05-22 Thread Nathaniel Graham
ngraham added a comment.


  In D19771#440886 , @cullmann wrote:
  
  > Hi, if we do that: Could we then remove the "Mode:", too and move that into 
the combobox?
  >  Perhaps like "Plain text search", "Whole words search", ...
  >  Otherwise the search doesn't save space and it looks "strange".
  
  
  Agreed, makes sense to me. @ognarb, can you look into doing this?

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: cullmann, cfeck, loh.tar, ngraham, kwrite-devel, kde-frameworks-devel, 
domson, michaelh, bruns, demsking, sars, dhaumann


D19771: Use placeholder instead of label

2019-05-22 Thread Christoph Cullmann
cullmann added a comment.


  Hi, any more feedback on this?

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: cullmann, cfeck, loh.tar, ngraham, kwrite-devel, kde-frameworks-devel, 
domson, michaelh, bruns, demsking, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-31 Thread Christoph Cullmann
cullmann added a comment.


  Hi, if we do that: Could we then remove the "Mode:", too and move that into 
the combobox?
  Perhaps like "Plain text search", "Whole words search", ...
  Otherwise the search doesn't save space and it looks "strange".

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: cullmann, cfeck, loh.tar, ngraham, kwrite-devel, kde-frameworks-devel, 
gennad, domson, michaelh, bruns, demsking, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-17 Thread loh tar
loh.tar added a comment.


  In D19771#432157 , @ngraham wrote:
  
  > In D19771#431727 , @loh.tar 
wrote:
  >
  > > Not answered are the questions about the removed label
  >
  >
  > The idea is that we don't need a label if there's appropriate placeholder 
text.
  
  
  Yes. But the mentioned HIG is slightly confusing and @ognarb will that revert 
again (bring back the label) here because of that. (at least I have read so)
  
  >> All these Q/A should be added as examples to the HIG 
https://hig.kde.org/style/writing/placeholder.html
  > 
  >   Good idea. https://hig.kde.org/resources/contribute.html
  
  I think every  mandatory standard should someone write who has the needed 
authority and responsibility and not some noob like me.
  
  Regarding ellipsis, I'm not a fan of that special char, but that doesn't 
matter.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: cfeck, loh.tar, ngraham, kwrite-devel, kde-frameworks-devel, gennad, 
domson, michaelh, bruns, demsking, cullmann, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-16 Thread Nathaniel Graham
ngraham added a comment.


  Can you bring this up in the VDG channel? If we're going to use the correct 
character, we should do it everywhere.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: cfeck, loh.tar, ngraham, kwrite-devel, kde-frameworks-devel, gennad, 
domson, michaelh, bruns, demsking, cullmann, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-16 Thread Carl Schwan
ognarb added a comment.


  > I'm not aware of why we tend to use three dots instead of the real ellipsis 
character. Possibly because that character can be challenging to type. Best to 
follow the existing convention, I think.
  
  The advantage of using the unicode ellipsis character, is that this character 
carries a semantic meaning instead of just being a multiple of dots and uses a 
proper amount of space between the dot, also the hig use the unicode character. 
The only disadvantage is then used in monospace font.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: cfeck, loh.tar, ngraham, kwrite-devel, kde-frameworks-devel, gennad, 
domson, michaelh, bruns, demsking, cullmann, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-16 Thread Nathaniel Graham
ngraham added a comment.


  In D19771#431727 , @loh.tar wrote:
  
  > For me is your distinction between Find/Search not very intuitive. But OK, 
in terms of HIG may that somehow a wanted subtlety. Filter on the other hand is 
something else, yes, and here not fitting. So "Find..." in both cases.
  >
  > Not answered are the questions about the removed label
  
  
  The idea is that we don't need a label if there's appropriate placeholder 
text.
  
  > and if triple dots are bad, OK or in any case to substitute by true a 
ellipsis. Well, the latter I asked elsewhere T10258#178907 
.
  
  I'm not aware of why we tend to use three dots instead of the real ellipsis 
character. Possibly because that character can be challenging to type. Best to 
follow the existing convention, I think.
  
  > All these Q/A should be added as examples to the HIG 
https://hig.kde.org/style/writing/placeholder.html
  
  Good idea. https://hig.kde.org/resources/contribute.html
  
  :)

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: cfeck, loh.tar, ngraham, kwrite-devel, kde-frameworks-devel, gennad, 
domson, michaelh, bruns, demsking, cullmann, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-15 Thread loh tar
loh.tar added a comment.


  For me is your distinction between Find/Search not very intuitive. But OK, in 
terms of HIG may that somehow a wanted subtlety. Filter on the other hand is 
something else, yes, and here not fitting. So "Find..." in both cases.
  
  Not answered are the questions about the removed label and if triple dots are 
bad, OK or in any case to substitute by true a ellipsis. Well, the latter I 
asked elsewhere T10258#178907 .
  
  All these Q/A should be added as examples to the HIG 
https://hig.kde.org/style/writing/placeholder.html

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: cfeck, loh.tar, ngraham, kwrite-devel, kde-frameworks-devel, gennad, 
domson, michaelh, bruns, demsking, cullmann, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-15 Thread Nathaniel Graham
ngraham added a comment.


  That's different. "Filter" actually hides non-matched entries. "Find" 
highlights them while keeping the context and surrounding content.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: cfeck, loh.tar, ngraham, kwrite-devel, kde-frameworks-devel, gennad, 
domson, michaelh, bruns, demsking, cullmann, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-15 Thread Christoph Feck
cfeck added a comment.


  In D19771#431674 , @ngraham wrote:
  
  > - "Find" is limited to items in the current view only, and usually pertains 
to text.
  
  
  I prefer the term "Filter" for this. If there is no filter, you see 
everything, if there is a filter, you only see the items that match. No 
additional search is performed.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: cfeck, loh.tar, ngraham, kwrite-devel, kde-frameworks-devel, gennad, 
domson, michaelh, bruns, demsking, cullmann, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-15 Thread Nathaniel Graham
ngraham added a comment.


  "Find" and "search" are different things. Broadly:
  
  - "Find" is limited to items in the current view only, and usually pertains 
to text.
  - "Search" is anything broader than that.
  
  So for this, "Find" is the appropriate term.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: loh.tar, ngraham, kwrite-devel, kde-frameworks-devel, gennad, domson, 
michaelh, bruns, demsking, cullmann, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-15 Thread loh tar
loh.tar added subscribers: ngraham, loh.tar.
loh.tar added a comment.


  > So the change in Search and replace need to be reverted.
  
  That should @ngraham decide. See also 
https://phabricator.kde.org/T10258#178907
  
  I would badly suggest to use in both cases the same term, "Find" or "Search".
  
  Should it be keep as shown above, I suggest to remove the unneeded space left 
from the input fields in power mode, so that it fit to the left edge and looks 
like the normal mode GUI.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: loh.tar, ngraham, kwrite-devel, kde-frameworks-devel, gennad, domson, 
michaelh, bruns, demsking, cullmann, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-14 Thread Carl Schwan
ognarb added a task: T10258: Use correct search bars and use ellipsis whenever 
needed to follow the KDE HIG.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: kwrite-devel, kde-frameworks-devel, gennad, domson, michaelh, ngraham, 
bruns, demsking, cullmann, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-14 Thread Carl Schwan
ognarb planned changes to this revision.
ognarb added a comment.


  Look likes I misread a part of the HIG: Since the placeholder won’t be 
visible anymore as soon as the user types, you should only use it on standalone 
input elements, not in groups of input elements such as forms.
  
  So the change in Search and replace need to be reverted.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: kwrite-devel, kde-frameworks-devel, gennad, domson, michaelh, ngraham, 
bruns, demsking, cullmann, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-14 Thread Carl Schwan
ognarb updated this revision to Diff 53922.
ognarb added a comment.


  Use proper Unicode ellipsis

REPOSITORY
  R39 KTextEditor

CHANGES SINCE LAST UPDATE
  https://phabricator.kde.org/D19771?vs=53919=53922

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D19771

AFFECTED FILES
  src/search/katesearchbar.cpp
  src/search/searchbarincremental.ui
  src/search/searchbarpower.ui

To: ognarb, #ktexteditor, #vdg
Cc: kwrite-devel, kde-frameworks-devel, gennad, domson, michaelh, ngraham, 
bruns, demsking, cullmann, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-14 Thread Carl Schwan
ognarb added a reviewer: VDG.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor, #vdg
Cc: kwrite-devel, kde-frameworks-devel, gennad, domson, michaelh, ngraham, 
bruns, demsking, cullmann, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-14 Thread Carl Schwan
ognarb edited the summary of this revision.
ognarb added a reviewer: KTextEditor.

REPOSITORY
  R39 KTextEditor

REVISION DETAIL
  https://phabricator.kde.org/D19771

To: ognarb, #ktexteditor
Cc: kwrite-devel, kde-frameworks-devel, gennad, domson, michaelh, ngraham, 
bruns, demsking, cullmann, sars, dhaumann


D19771: Use placeholder instead of label

2019-03-14 Thread Carl Schwan
ognarb created this revision.
Herald added projects: Kate, Frameworks.
Herald added subscribers: kde-frameworks-devel, kwrite-devel.
ognarb requested review of this revision.

REVISION SUMMARY
  See https://hig.kde.org/style/writing/placeholder.html
  
  Also change Find -> Search in Search and replace module
  
  Screenshot: comming

TEST PLAN
  Compile and run

REPOSITORY
  R39 KTextEditor

BRANCH
  master

REVISION DETAIL
  https://phabricator.kde.org/D19771

AFFECTED FILES
  src/search/katesearchbar.cpp
  src/search/searchbarincremental.ui
  src/search/searchbarpower.ui

To: ognarb
Cc: kwrite-devel, kde-frameworks-devel, gennad, domson, michaelh, ngraham, 
bruns, demsking, cullmann, sars, dhaumann