full screen formula editing

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • jamie
    Senior Member
    • Aug 2025
    • 342

    #1

    full screen formula editing

    This little 1/3 of the screen on the side makes it extremely difficult to do real editing of a formula; that model popup needs to be full screen
  • shalmaxb
    Senior Member
    • Mar 2015
    • 1882

    #2
    really? I never had problems with that. Do you format your formulas or let them get spaghettied?

    Comment


    • jamie
      jamie commented
      Editing a comment
      my other colleague isn't a programmer so i get a spaghetti mess

      but even apart from that its just too short for a lot of code, especially as the Espo formula is fairly long-winded

      i guess you don't do very complex formulas? we regularly do 5 pages plus and that tiny window is just too small


      i see you don't have a problem but for me its a rather major source of annoyance and every time i have to do work in it i have to change out the css

      would be a simple change that would improve my life, but then there seems to be not a lot of care about developers here

    • shalmaxb
      shalmaxb commented
      Editing a comment
      the complexity of a formula is mirrored in very long lines of code? Strange point of view honestly.
      I try to help. Although you having the holy grail of everything, no need to be offensive to the developers, which I got to know over my six years journey with espoCRM as attentive, willing to help and before all very skilled.
      If you would pay attention to the mood in this forum, perhaps you already would have perceived (perhaps not), that here you will find helpful people. And friendly. Why then your reaction is always as if all the others are idiots, but you?
  • jamie
    Senior Member
    • Aug 2025
    • 342

    #3
    I think there’s been a slight misunderstanding in how my comment is being interpreted.

    I’m not suggesting that anyone else is doing things incorrectly, or that their workflows are invalid. I’m saying that in my case, I’m still running into the same problem, regardless of how others have adapted to the current behaviour, and i find it to be unnecessary, whereas a simple number change in the CSS will enable a much better developer experience

    It’s great that some users have developed effective workarounds and are happy with the system as it is. However, those approaches don’t address the issue I’m facing, and therefore don’t solve the requirement I’m raising.

    What I’m proposing is a small change that would improve usability for users in my situation, particularly around making the interface more flexible and reducing friction when working with longer or variable-length data. From my perspective, even a relatively simple UI adjustment could significantly improve the experience.

    I fully appreciate the feedback and alternative approaches being shared, but not adopting those workflows doesn’t mean they’re wrong — it just means my requirements are different.

    The intent here is not to dismiss existing usage patterns, but to highlight an area where the current design doesn’t fully meet all use cases, particularly for programmers or enterprise contexts.

    so in summary, you might be happy to work around a bad ux desinge, but as someone who's been doing this for over 20 years i will propose improvements where i see a gap, and i really don't expect much response as developers seem not to really care about user experience

    Comment


    • rabii
      rabii commented
      Editing a comment
      which formula is it before api before save script and before save custom scripts ?
  • jamie
    Senior Member
    • Aug 2025
    • 342

    #4
    rabii in particular the before save, but really any where i have to enter a formula, the box is only good for small things but our company has (probably) way too much logic in there and having such a small box just makes it harder to develop and debug for no reason

    Comment

    • rabii
      Active Community Member
      • Jun 2016
      • 1428

      #5
      Originally posted by jamie
      rabii in particular the before save, but really any where i have to enter a formula, the box is only good for small things but our company has (probably) way too much logic in there and having such a small box just makes it harder to develop and debug for no reason
      i think it can be done - i will open a pr for this (check link below) is this what you want ?

      Rabii
      EspoCRM Custom Development

      🔗 Portfolio & Builds

      Comment

      • rabii
        Active Community Member
        • Jun 2016
        • 1428

        #6
        jamie just published this extension as open source. you can download it from github release - install and you will have the full screen mode experience in formula editing view.

        Adds an Administration → Formula Focus panel with a setting to enable exiting fullscreen with the Escape key (off by default, since EspoCRM also uses Escape to close modals).

        Rabii
        EspoCRM Custom Development

        🔗 Portfolio & Builds

        Comment


        • jamie
          jamie commented
          Editing a comment
          you are ****ing amazing!

        • jamie
          jamie commented
          Editing a comment
          could you expand your readme so i can share it amongst my team so we can discuss installation

        • rabii
          rabii commented
          Editing a comment
          you are welcome mate
          sorry what do you mean by - could you expand your readme so i can share it amongst my team so we can discuss installation ? the readme already covers installation steps etc.
      • jamie
        Senior Member
        • Aug 2025
        • 342

        #7
        it would be nice if i could just say "lets add this with link" and then the other user goes there and sees

        # espoCRM exstention

        Fixes vertical scrolling in the fullscreen formula editor.

        - compatiable espo 9.3-10.1






        though i see why you don't do it as its almost more of a bug fix than an exstention

        Comment


        • jamie
          jamie commented
          Editing a comment
          yeah i was thinking it was a larger bit of code than it is.

          is there anyway you can stop teh <esc> key from closing the window?

        • rabii
          rabii commented
          Editing a comment
          it has be omitted but some users would prefer to have it. i will may be add a config params that allow to disable or enable (esc) for existing the full screen mode.

        • jamie
          jamie commented
          Editing a comment
          off by default would be GREAT
      • rabii
        Active Community Member
        • Jun 2016
        • 1428

        #8
        jamie

        done added an admin config under Administration > Formula Focus

        where the admin can check / uncheck (enable - disable) esc to exist the fullscreen mode though Exit fullscreen with Escape checkbox field. By default set to false meaning esc will be disabled.

        here is the new release

        Adds an Administration → Formula Focus panel with a setting to enable exiting fullscreen with the Escape key (off by default, since EspoCRM also uses Escape to close modals).



        cheers​
        Last edited by rabii; Yesterday, 10:28 AM.
        Rabii
        EspoCRM Custom Development

        🔗 Portfolio & Builds

        Comment

        • jamie
          Senior Member
          • Aug 2025
          • 342

          #9
          Click image for larger version

Name:	image.png
Views:	7
Size:	109.7 KB
ID:	127849 you are simply the BEST <3

          Comment

          Working...