Stylish-Custom

1679111281

Comments

  • Posted By: ChoGGithe hard part is making the table do stuff :)
    speaking of which i assume you want something like that screenshot you posted before
    i'll see what i can do, but don't hold your breath (might be a bit beyond my js skills)
    Yes if it's easy to do.
    The only important feature that I want is to list all information in one table.
    So I don't need to keep switching.
    Other features are only extras, not really necessary.
    Is it okay to release a version which displays a new table with columns of info first?
    Put others in the to-do list. No hurry. ;)

    Search by type
    Currently Stylish can search name only.
    Is it possible to enhance Stylish to search others like "tag" too?
    Posted By: ChoGGididn't get the tab size working, this'll fix the drop menu and that icon (you can replace the other display:none parts with it)
    That's annoying.
    Who knows what has changed so the size code no longer works?
    Posted By: makondoespecially if i'll ask it to be an option or show only in standalone window view.
    As far as I know it will be presented in the new table. It won't add to the existing one.
    So the situation you are talking about is invalid, in other words, no worry. :P
    Posted By: makondoIf you're going to implement the snap, could you look and see if you can make a list of them from which we can choose which one to snap back (see you in a year or so, uh?). Otherwise it seems to simply pretty much duplicate the D/E.
    Yes a list of them is nice.
    They are different. Read my post above.
    For example, snapshot doesn't switch all your styles off. It only records what have been on.
    The "disable styles" will actually disable all styles.
    Posted By: makondohow about a manual for S-C?
    Hmm... What is SC?
  • Stylish-Custom. With all the options added/coming, it's growing onto a monster that need a user guide ;-)
  • Posted By: Wai WaiIs it possible to enhance Stylish to search others like "tag" too?
    i'll stick it in the todo :)
    As far as I know it will be presented in the new table. It won't add to the existing one.
    So the situation you are talking about is invalid, in other words, no worry. :P
    yea i was also planning to use a different window
    Posted By: makondoit's growing onto a monster that need a user guide ;-)
    it is getting a bit different :)
  • ChoGGi, sticky this thread, will you please? I just had to refer somebody here and it was already on the second page (all that scrolling i had to do ...;-). I don't like refer people to AMO - first of all, i don't like AMO. second, i think people can benefit from reading a thread about an ext. vs just installing it (especially a thread as entertaining as this one ;-).
    TIA!
  • i'd stuck a link to it in that other sticky awhile back
  • Haha, what 'other sticky'? Now i have to find that other sticky?...
  • http://forum.userstyles.org/comments.php?DiscussionID=773
    never been a fan of forums with a bunch of stickies :)
  • edited June 2009
    Uhmm... can you point me to a link to Stylish-Custom in that sticky? I don't see it.
    BTW, is there a 'find next' or do i have to enter, enter, enter...?
  • it's in the blue area

    you mean for sc? f3
  • edited June 2009
    Gotcha, thanks!
    S-C - i don't see other way to 'find next' but keep pressing Enter on my keyboard. And i don't see 'All' either (for 'replace text'?). Did i 'style' it out or did you remove it?
    Here's what i see:
    image
  • F3 is for find next
    once and all should be there (take a look at the screenshot here)
  • i.o.w. you need to have the toolbar and/or urlbar opened to get those two (or four) buttons...
  • Oh me! ... i need to stop (trying to) multitaskin' ...
    I was in a profile with S-C 2.0 - before all that and autoupdates.
    Back to norm now, sorry for the interruption ;-)

    Izzy, the toolbar and URLbar ARE opened. Do you see my shot above?
  • makondo: Ah, so that empty input is the URL bar - OK, got it. Did you try it with your special style disabled? Could be you accidentally disabled those buttons?
  • edited June 2009
    Izzy ... what can i say? - get yourself an extra cup-o-coffee and re-read my post (are you all right out there?).

    Just in case, so that you don't have to scroll up image :
    Posted By: makondo... I was in a profile with S-C 2.0 - before all that and autoupdates.
    Back to norm now ...
  • Makondo, better ignore my post - I miss the point and am all confused now. Must be some fine-tuned English I don't get. But if I interprete the bold letters correctly, you want to say something like "aw, my fault - I messed something up. I fixed that, and now it is working"? Forgive me, but I'm not a native speaker Peace
  • edited June 2009
    Izzy, i see coffee worked image
  • Add search button
    Would you add a search button in style edit windows?

    Name [________] [____(Search box)____] (Search button)

    If you press enter again, it adds a new line instead of jumping to the next entry.
    This is what I have to do currently:
    Type some word -> press enter -> select the box again -> press enter (to search again) -> select the box again -> press enter (to search again)...

    With the search button:
    Type some word -> press search button -> press search button (to search again) -> press search button (to search again)

    Snapshot function
    Where has the snapshot feature gone?
    It seems it's missing again in 0.2.8
    I don't mind it takes about 30 seconds to take a snapshot.

    Last time I was trying to troubleshoot one style problem/conflict and snapshot proves to be a great help.
    "Disable all" can't do the same thing as effective as "snapshot" because it is meant to turn off all styles.
    I need the styles on when doing the test/debugging but just restore back after the process.

    Please add it back. It's very important to me. Smileys Smileys Smileys

    Simple Table
    Well instead of having an interactive table that is suggested previously, I propose a simpler table which only list all information only:

    Enabled _____ Name ______ Type _____ Tag
    [✔] ________ xxxx ______ App ______ xxx, yyy, zzz

    It doesn't have to do any action. Just a quick view to view all information at a glance.
    This is the most important to me.
  • Posted By: makondoStylish-Custom. With all the options added/coming, it's growing onto a monster that need a user guide ;-)
    I think it's a good idea. It seems Stylish Custom will grow bigger and bigger as time goes by. A mini-guide surely helps.
    I think a good way to start is to put the documentation in a collaborative environment so several people can work together to keep the guide up-to-dated.
    Right off the top of my head, wiki seems to be the right tool for that task.
    What do you think?
  • Add search button
    you can press F3 for find next
    Snapshot function
    i figured since it takes about the same amount of time to snapshot as to disable, there wasn't much point to keeping it around
    i didn't really think of it being useful like you mentioned so i'll add it back for 0.2.9
    Simple Table
    :) that would be easier to add. i can stick it in the export dialog or would it be better in it's own dialog?
    Right off the top of my head, wiki seems to be the right tool for that task.
    yeah i'd added the guide to the todo, i'll see about a wiki
  • Posted By: ChoGGiyou can press F3 for find next
    OK. But I think not all people realise this shortcut key.
    It's worth implementing if it isn't hard to do.
    Forget it if it is. It's not important either.
    Posted By: ChoGGii didn't really think of it being useful like you mentioned so i'll add it back for 0.2.9
    Yeah yep, add it back.
    Very very look forward to seeing it in 0.2.9!

    If it's easy to have a list of snapshot, add it too.
    Otherwise put it in a to-do list (perhaps 0.3.x or later).
    Posted By: ChoGGithat would be easier to add. i can stick it in the export dialog or would it be better in it's own dialog?
    In its own dialog.
    Add it to 0.2.9 if possible.

    The next important function would be a simple search.
    Something like the Find toolbar in the Firefox, or the simple search in the editor suffices.

    Misc: Efficient Styles
    Recently I came across this article:
    Writing Efficient CSS for use in the Mozilla UI - MDC
    People who write styles may want to take a look at this.

    The article tell us not to use Universal Rules and descendant selector.
    It even says descendant selector is dreadfully expensive, especially if a rule using the selector is in the tag or universal category.

    From what the article says I see there are many styles on userstyles.org which look like using slow CSS, possibly unnecessarily, but I don't have enough knowledge to help.
    It sounds like scarily slow but really to what extent? Should we be worried about and try to rewrite some of the styles?
    Will Firefox be slowed down if we have many slow styles?
    Does anyone have any opinion on this?
  • Posted By: Wai Wai
    Posted By: ChoGGiyou can press F3 for find next
    OK. But I think not all people realise this shortcut key.
    It's worth implementing if it isn't hard to do.
    Forget it if it is. It's not important either.
    Don't we have enough buttons already? Shock

    May I suggest a compromise: Place a hint in the tooltip ("Enter to search, to repeat the search", or the like). So those who didn't realize yet, will do so as soon as they hover the mouse over the search field.
    Misc: Efficient Styles
    Recently I came across this article:
    Writing Efficient CSS for use in the Mozilla UI - MDC
    People who write styles may want to take a look at this.
    Thanks for this link - I will make sure to investigate it!
    Should we be worried about and try to rewrite some of the styles?
    If it makes things faster, it cannot hurt, right? LOL
  • The next important function would be a simple search.
    Something like the Find toolbar in the Firefox, or the simple search in the editor suffices.
    seems like a good idea, shouldn't be too hard either (just need to think of a way to show the results)
    Posted By: Wai WaiWill Firefox be slowed down if we have many slow styles?
    there was another forum discussion about this. it mostly seems to affect the ff startup time
    Posted By: Izzy
    Posted By: Wai Wai
    Posted By: ChoGGiyou can press F3 for find next
    OK. But I think not all people realise this shortcut key.
    It's worth implementing if it isn't hard to do.
    Forget it if it is. It's not important either.
    Don't we have enough buttons already?Shock

    May I suggest a compromise: Place a hint in the tooltip ("Enter to search,to repeat the search", or the like). So those who didn't realize yet, will do so as soon as they hover the mouse over the search field.
    i've already added the tooltip
  • Posted By: IzzyMay I suggest a compromise: Place a hint in the tooltip ("Enter to search,to repeat the search", or the like). So those who didn't realize yet, will do so as soon as they hover the mouse over the search field.
    Well I can actually keep pressing "enter" to search again (find next) when I use the Firefox Find toolbar to search.
    The focus seems lost when we search in the editor so we have to resort to "F3" function key.
    I don't have a problem with more than 1 button if it helps newbies to know they can actually search again.
    Perhaps we can make the buttons smaller with smaller fonts. The buttons currently have unnecessary padding surrounding the text.
    Posted By: IzzyIf it makes things faster, it cannot hurt, right?LOL
    Pros: Faster LOL
    Cons: Time and headaches to rewrite Smileys

    I tried to rewrite some. More often than not I failed. Smileys
  • edited June 2009
    i'll add a find next button (you can always hide it if you don't want to see it)

    i've got the style info dialog working (i also added a column for the internal style id)
    i want to see about getting it to do stuff first though (toggle enabled,edit tags, and so on)

    i also re-added the snapshot menuitem, it should be a lot snappier now :)

    edit: if anyone wants to try it out (haven't added any options to choose where the menuitems go yet)
    Stylish-Custom-0.2.9b.xpi
  • Here we go again with the snapshot ... What good does it do if it doesn't have an interface? So, you click it. Nothing (visible) happens. And since Fx 3.5RC removed the busy cursor, we have no means of knowing if a snap is done or not. I mean - nothing visible happens, literally.
    I had this very long discussion with rawny a while back when he was working on his disable/enable button. I could never understand what this snapshooting might be used for. There's no location it stores in, you can't access it to see it, you can't choose a snap to go back to ... Just sit there and click, click click away 'til blue.
    Unless there's some sort of a list of snaps to restore to (selectively) or save for another profile/puter, it seems to be useless menu item (to me).

    Wai_Wai,
    since you keep insisting on snapshooting, can you give an example situation when you may be using it, please?

    ChoGGi, thanks! What ID's are for? Is it only good if you use that ext. we talked about above?
  • All's looking good as far as I can see. For me, one of the more useful features I'd like to see now is automatic updates for the add-on! If you need help on that, I can give the steps, although it's all available on the Mozilla Wiki.
  • edited June 2009
    Posted By: makondoHere we go again with the snapshot
    :)
    it only takes a second or two for 140 styles, and the results are stored in extensions.stylish.custom.stylelist
    since you keep insisting on snapshooting, can you give an example situation when you may be using it, please?
    you use it as you would disable rules, it doesn't change anything. after you've finished whatever press restore and it resets the styles to how they were before the snapshot (it'll ignore new styles)
    save for another profile/puter,
    that would only work if it's the same database (or has the same style ids, the internal ones not the us.org ones)

    i'm thinking there should be a menuitem to restore the snapshot (at the moment restore checks for a snapshot then restores that else if there's no snapshot then it restores disabled rules)
    then again it may be better to just remove "disable rules" and use snapshot instead (take a snapshot do what you need to then you can restore)
    What ID's are for? Is it only good if you use that ext. we talked about above?
    yeah those ids. no use for css, more for doing stuff with js
    if you inspect the edit dialog on a style it'll show the id in the windowtype attribute, but that isn't much use for a style you distribute
    Posted By: BoffinbraiNAll's looking good as far as I can see. For me, one of the more useful features I'd like to see now is automatic updates for the add-on! If you need help on that, I can give the steps, although it's all available on the Mozilla Wiki.
    you mean for styles or the extension?
  • ChoGGi, maybe it would really be a nice idea to extend the snapshot feature (as already suggested before) by "named snapshots", i.e. create a snapshot and give it a name. In this case, the actual snapshot is taken and saved under the specified name. Multiple named snapshots should be possible. Then one could chose the "snapshot collection" appropriate to the intended task, and switch to it. Wai Wai mentioned things like "Grandma Mode" (to generally make things bigger for older eyes), "Dark Mode", "Fancy Mode", "Game Mode", "Serious Mode" (aka "Boss Mode"), "Compact Mode"... Each as a collection of enabled styles (while all others are disabled).

    Sure this would mean one may need to update those snapshots when new styles have been added - no problem, since (as you described) restoring a snapshot ignores styles unknown to it. So it would simply mean to enable the named snapshot, switch the new styles so they fit, and save the sanpshot using the same name.

    Guess this is a use makondo will understand fine - just his modes will be named differently: "Metal Mode", "Dark Mode", "Silver Mode"... Whistle
Sign In or Register to comment.