Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#25 2016-10-12 15:14:07

mrdale
Member
From: Walla Walla
Registered: 2004-11-19
Posts: 2,212
Website

Re: Save without losing my place?

cough… rah_flat… cough

Offline

#26 2016-10-12 15:25:18

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,092
Website

Re: Save without losing my place?

alesh wrote #302144:

Mainly I am waiting and hoping for options to set the widget order

Drag ‘n drop, stored per user is planned.

show/hide/expand/collapse settings for all users

The open/closed nature of twisties is stored per user at the moment. To suit an individual’s workflow.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#27 2016-10-13 14:45:39

maverick
Member
From: Southeastern Michigan, USA
Registered: 2005-01-14
Posts: 975
Website

Re: Save without losing my place?

Gocom has a plug in for auto-expanding text fields. Personally I always found that sufficient.

Offline

#28 2016-10-14 09:10:43

etc
Developer
Registered: 2010-11-11
Posts: 4,191
Website

Re: Save without losing my place?

philwareham wrote #302143:

Try again now.

Now it works fine, thanks.

Edit: re autosize, I can live with/out it, but it would be without if I had choice. A script that does some calculations on each key stroke is not very green.

Last edited by etc (2016-10-14 09:15:50)

Offline

#29 2016-10-14 14:29:09

sacripant
Plugin Author
From: Rhône — France
Registered: 2008-06-01
Posts: 479
Website

Re: Save without losing my place?

etc wrote #302171:

Edit: re autosize, I can live with/out it, but it would be without if I had choice. A script that does some calculations on each key stroke is not very green.

I agree

Last edited by sacripant (2016-10-14 14:29:40)

Offline

#30 2016-11-02 23:36:14

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,092
Website

Re: Save without losing my place?

This commit introduces AJAX saving of the Styles panel. Please report any findings with the latest dev branch and, if it’s acceptable, I’ll roll it out across other panels.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#31 2016-11-07 08:20:40

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,275
Website

Re: Save without losing my place?

Bloke wrote #302582:

This commit introduces AJAX saving of the Styles panel. Please report any findings with the latest dev branch and, if it’s acceptable, I’ll roll it out across other panels.

That is kinda unfortunate – it is the one panel I never use…
I gave it a brief test though, with a 2 line css, and it works, as far as I can tell. The contents of the textarea is saved, the focus remains on the textarea – I’ll assume the scroll position is kept as well.


Where is that emoji for a solar powered submarine when you need it ?

Offline

#32 2016-11-07 09:48:42

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,092
Website

Re: Save without losing my place?

phiw13 wrote #302726:

I’ll assume the scroll position is kept as well.

Yes it is. I’ll roll it out to the other panels this week.


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#33 2016-11-07 18:36:14

alesh
Member
From: Miami, FL
Registered: 2005-04-13
Posts: 228
Website

Re: Save without losing my place?

Yahoo! I’m planning on testing this ASAP. This is going to make a big difference on my quality of life.

Meawhile, can I get a what what for automatic tag completion when I type </ ? (This list does not end until you’ve mostly reimplemented Sublime Text in that text box.)


Yes, I have tried turning it off and on.

Offline

#34 2016-11-14 04:16:50

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,275
Website

Re: Save without losing my place?

Bloke wrote #302733:

Yes it is. I’ll roll it out to the other panels this week.

Now that it has landed for all 3 panels, I could take it for a spin in a more realistic environment. Everything works nicely.


Where is that emoji for a solar powered submarine when you need it ?

Offline

#35 2016-11-14 18:17:55

Bloke
Developer
From: Leeds, UK
Registered: 2006-01-29
Posts: 10,092
Website

Re: Save without losing my place?

phiw13 wrote #302839:

Everything works nicely.

Brill, thanks for testing. Glad it works.

I’ve uncovered one niggle on the Forms panel. If you change a Form to an unused type and save, the Form doesn’t appear in the list. This is because the AJAX is injected into the twisty container one at a time so if the new twisty isn’t in the list to begin with, it’s not added until a full page refresh occurs. Same in reverse when changing the type away from the last item in a group.

Unfortunately, doing things the other way round (writing the entire side panel out as a single block) has two consequences upon save:

  • The open/closed state of twisty panels is not remembered.
  • The multi-select checkbox feature (shift-click) is lost.

That’s down to the way the handlers are registered. Working with Oleg on a solution1.

1 Alright, full disclosure: I’ve asked Oleg to fix it because he knows more about this stuff than I do.

Last edited by Bloke (2016-11-14 18:20:18)


The smd plugin menagerie — for when you need one more gribble of power from Textpattern. Bleeding-edge code available on GitHub.

Txp Builders – finely-crafted code, design and Txp

Offline

#36 2016-11-14 23:38:01

phiw13
Plugin Author
From: Japan
Registered: 2004-02-27
Posts: 2,275
Website

Re: Save without losing my place?

Bloke wrote #302852:

I’ve uncovered one niggle on the Forms panel. […]

Ack. That is one thing I didn’t test – my playground has forms of all types… Done some post spring autumn storm cleaning, and I can reproduce that.


Where is that emoji for a solar powered submarine when you need it ?

Offline

Board footer

Powered by FluxBB