Submitted by Pierre_Admin on 2018/11/12 22:56
Hi All,
 
I was playing around with HTML and Javascript and I think it may be possible to implement one-click expand / collapse of headings (H1 ... H6) in both Browse mode AND Edit mode
 
Anyone interested ?
 
Pierre_Admin
IQ Designer
 

Comments

Absolutely!! 

I usually only have 2 or 3 headers per document during composition but even then this would be incredibly useful given the limited amount of space in each editor especially on my Surface.

Now that IQ can easily combine these individual elements into a custom composition, I won't have to export to MS Word half way thru the compilation process. Revisions could now be easily Cut & Pasted back to the original Documents or saved as reusable revision documents. Multiple drafts could also be saved and sent out for evaluation and feedback.

Word would now be reserved mainly for grammar-checking and final formatting with "acceptable" styles and fonts.

IQ could easily become the ESSENTIAL tool for every high school and university student. Better start contemplating your Education pricing scheme!

Paul_J_Miller

2018/11/13 07:07

In reply to by DragonGem

[quote=DragonGem]

Absolutely!! 

I usually only have 2 or 3 headers per document during composition but even then this would be incredibly useful given the limited amount of space in each editor especially on my Surface.

Now that IQ can easily combine these individual elements into a custom composition, I won't have to export to MS Word half way thru the compilation process. Revisions could now be easily Cut & Pasted back to the original Documents or saved as reusable revision documents. Multiple drafts could also be saved and sent out for evaluation and feedback.

Word would now be reserved mainly for grammar-checking and final formatting with "acceptable" styles and fonts.

IQ could easily become the ESSENTIAL tool for every high school and university student. Better start contemplating your Education pricing scheme!

[/quote]
 
I usually have a lot of headings per document.  Well I find there are two types of document long and short with very little in between.  The short ones are only a line or two generally with no headings, the long ones have many headings.  For me InfoQube has become my main tool for composition and has taken over that role from Scrivener.  Instead of having many different projets in different files they now reside in different grids in the same notebase.
 
The outlining and word processing features of InfoQube are getting better but it still needs the ability to change the background colour of cells in a table.
 
I agree that this would be a very useful tool in Universities.  If only they knew about it.  I don't know what the final pricing scheme will be for InfoQube, if you want to go for a big price for a higher profit and more piracy or for a small price for less profit on more sales and less piracy. For software the production cost is very low but the development cost is very high. If you go for a high price then an Educational discount would make sense.
 
Those students who learn to use a program during their courses tend to want to go on using that tool, if it is any good, when they leave and get jobs.  Whilst they still have their license the firms they work for like to get legitimate licenses for the software they use so there might be a knock on effect from that.  This is why MIcrosoft is so keen to get its products used in schools, imagine what would happen if schools started using Liber Office.  :)
 
 

Pierre_Admin

2018/11/13 11:14

In reply to by Paul_J_Miller

[quote=Paul_J_Miller]
Instead of having many different projets in different files they now reside in different grids in the same notebase.
 
I agree that this would be a very useful tool in Universities.  If only they knew about it.  I don't know what the final pricing scheme will be for InfoQube
[/quote]
1- Instead of different grids, simply use 1 grid and filter on a Tag (could even be a hidden tag)
Set the grid source to blank and enter #TagName as the filter. The filter dropdown remembers all previous entries, so just click the dropdown arrow to view any article
 
2- IQ as a writing tool / light information management / in-class audio recording with handwriting sync would be free for students.
Because we're in 2018 and if it isn't free, it won't catch on. 
 
Pierre_Admin
IQ Designer
 

Pierre_Admin

2018/11/13 11:46

In reply to by Paul_J_Miller

re Grids: Of course, when the number of grids becomes a problem, you can always change to using filters instead
 
re Handwriting: Yup, that is why IQ integrated what is perhaps the only real handwriting word-processor
 
 
 
 
Pierre_Admin
IQ Designer
 

Paul_J_Miller

2018/11/13 13:46

In reply to by Pierre_Admin

I have always found writing with a stylus on a graphics tablet (where what you are writing appears in a completely different place) difficult.  You are writing on the graphics tablet which has no display and the words are appearing on the screen remote from your hand.
 
Maybe it's just me but it completely ruins my hand eye coordination.
 
And trying to write with a mouse is just awful.
 
I have a ReMarkable tablet and it is great (if a little overpriced), it feels like paper to write on and the words appear under the pen where they are supposed to be.  Then I can either convert to text on the tablet itself or the pages get updated automatically on my computers and phone so I can export the bitmaps and paste into InfoQube as images.
 
If I ever got an e-mail account set up for InfoQube then I could e-mail the text directly to InfoQube.
 

Pierre_Admin

2018/11/13 14:36

In reply to by Paul_J_Miller

[quote=Paul_J_Miller]
I have always found writing with a stylus on a graphics tablet (where what you are writing appears in a completely different place) difficult.
(...) 
If I ever got an e-mail account set up for InfoQube then I could e-mail the text directly to InfoQube.
[/quote]
I've never tried a graphics tablet, but I'm sure it is like you say. There is nowadays a great selection of pen-enabled PCs.
 
All my dev is done on a 4 year old Acer R7 (n-trig pen)
 
and if I were to buy a PC today, it would be the HP Spectre Folio, partly because of the great form factor for writing with the included pen
 
re: email: Do setup EmailToIQ, I find it invaluable !! See: 2. Send To InfoQube using EmailToIQ
 
 
Pierre_Admin
IQ Designer
 

Pierre_Admin

2018/11/13 22:10

In reply to by Paul_J_Miller

[quote=Paul_J_Miller]
The outlining and word processing features of InfoQube are getting better but it still needs the ability to change the background colour of cells in a table.
[/quote]
Doc pane headings expand / collapse is coming to the next version... AND cell background color too !
Bonus is cell text foreground color :-)
 
Pierre_Admin
IQ Designer
 

DragonGem

2018/11/14 00:47

In reply to by Pierre_Admin

Might as well get in on your wish-granting!

Colors of Grid Column Headers handled differently depending upon [Highlight Focused Cell] toggle 
 
 
Specified Field Color displayed in List portion of Field Properties Dialog.

Paul_J_Miller

2018/11/14 03:50

In reply to by Pierre_Admin

[quote=Pierre_Admin]
[quote=Paul_J_Miller]
The outlining and word processing features of InfoQube are getting better but it still needs the ability to change the background colour of cells in a table.
[/quote]
Doc pane headings expand / collapse is coming to the next version... AND cell background color too !
Bonus is cell text foreground color :-)
 
Pierre_Admin
IQ Designer
 
[/quote]
 
Will the background colour be able to be set to a colour gradient ?
 
i.e. two colours and maybe a direction.
 
This would be nice but only possible in IE 11 mode.
 
 

Pierre_Admin

2018/11/14 10:31

In reply to by Paul_J_Miller

[quote=Paul_J_Miller] 
Will the background colour be able to be set to a colour gradient ?
[/quote]
Hi Paul,
 
No, this is a quick fix to enable the fore / back color selector to work with tables. A true UI to edit all table / row / cell properties will come later (something like this table / cell editor would be a good start)
 
Pierre_Admin
IQ Designer
 

This would undoubtedly be a useful addition.
 
I have experience of using this from 'ConnectedText', when everything is collapsed the document becomes it's own table of contents.
 
In order not to complicate the user interface might I suggest a small plus or minus symbol just before each heading which can be clicked to expand or collapse the section below.
 
So the only changes to the main interface would be the 'Expand All' and 'Collapse All' buttons.
 

Pierre_Admin

2018/11/13 15:33

In reply to by Paul_J_Miller

In the first implementation, it will work as for hyperlinks:
  • In Browse mode, single click on a heading toggles expand / collapse
  • In Edit mode, Alt-click on a heading toggles expand / collapse, Ctrl + right / left arrows also does expand / collapse
When collapsed, an ellipsis (...) is appended to the heading title
 
When in Edit mode, expand states are saved with the document
Use View > Expand All to expand all headings
 
Pierre_Admin
IQ Designer
 

Paul_J_Miller

2018/11/15 07:17

In reply to by Pierre_Admin

Very Nice !
 
However I see I will have to re-design some of the headings in the CSS files because they don't look good when stacked on top of one another.
 
I'm not sure about the ellipsis ... what happens if the heading already ends in an ellipsis ?
 
Maybe it would be better to precede the heading with an icon which could be clicked to reveal or hide the body text.  Like a plus or minus in a box which would make it the same as the hierarchy in the grids or a triangle as used in some websites.
 

Pierre_Admin

2018/11/15 09:33

In reply to by Paul_J_Miller

Hi Paul,
 
Yes, it is a first cut at the concept of expand / collapse within the Doc pane
 
I also wanted something that would not impact the appearance of the document, hence the absence of expand / collapse buttons
 
Pierre_Admin
IQ Designer
 

Paul_J_Miller

2018/11/15 09:59

In reply to by Pierre_Admin

If you don't want to spoil the look of the document you could have an icon which only appears when the mouse is over the heading.
 

Tom

2018/11/15 18:48

In reply to by Pierre_Admin

[quote=Pierre_Admin]Yes, it is a first cut at the concept of expand / collapse within the Doc pane
 
I also wanted something that would not impact the appearance of the document, hence the absence of expand / collapse buttons[/quote]first:
this is amazing !!
 
Second:
how about using a bracketed ellipses after the heading as the indication it is collapsed:
 
 
I am a Heading [..]
 

Pierre_Admin

2018/11/15 20:08

In reply to by Tom

[quote=Tom]
how about using a bracketed ellipses after the heading as the indication it is collapsed:
 
I am a Heading [..]
 
[/quote]
I"ll probably add it as a Doc pane options
 
Pierre_Admin
IQ Designer
 

Paul_J_Miller

2018/11/16 05:12

In reply to by Tom

[quote=Tom]
how about using a bracketed ellipses after the heading as the indication it is collapsed:
 
I am a Heading [..]
 
[/quote]
 
A bracketed ellipsis would be better than a naked ellipsis but I still prefer the icon before the heading.
 

Pierre_Admin

2018/11/16 12:10

In reply to by Paul_J_Miller

Hi Paul,
 
You'll have full control over the position and type of indicator
 
Pierre_Admin
IQ Designer