No More Posting New Topics!

If you have a question or an issue, please start a thread in our Github Discussions Forum.
This forum is closed for new threads/ topics.

Navigation

    Quasar Framework

    • Login
    • Search
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Search
    1. Home
    2. dlevin
    D
    • Profile
    • Following 0
    • Followers 0
    • Topics 3
    • Posts 7
    • Best 3
    • Groups 0

    dlevin

    @dlevin

    3
    Reputation
    381
    Profile views
    7
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    dlevin Follow

    Best posts made by dlevin

    • RE: Testing

      What are the issues you’re running into with vue-router? I’m currently trying to set up testing similar to what is generated by the vue-cli webpack template but am struggling…

      posted in Help
      D
      dlevin
    • RE: Drawer - Always enable hiding

      I worked around this by adding $drawer-screen-width-threshold = 9000px in themes/app.mat.styl

      The drawer will always be hidden and the button to toggle it will always be visible (on resolutions lower than 9000px wide)

      posted in Help
      D
      dlevin
    • Q-Select, Toggle, and emitting events

      I recently tried to pass an array from Vuex state into a q-select component of type ‘toggle’ and noticed that the select-component modifies the array in place without emitting events. This obviously breaks the Vuex pattern and prevents me from doing this:

      skills: {
        get () {
          return this.$store.getters['ALL_SKILLS']
        },
        set (values) {
          this.$store.commit('SET_SKILLS', values)
        }
      }
      

      To work around this I created a local array in the component itself and then watch that array for changes. If there’s a change, I call the Vuex mutation. This solution works, but is there a way I can get the above code to work with q-select of type ‘toggle’?

      posted in Help
      D
      dlevin

    Latest posts made by dlevin

    • Q-Select, Toggle, and emitting events

      I recently tried to pass an array from Vuex state into a q-select component of type ‘toggle’ and noticed that the select-component modifies the array in place without emitting events. This obviously breaks the Vuex pattern and prevents me from doing this:

      skills: {
        get () {
          return this.$store.getters['ALL_SKILLS']
        },
        set (values) {
          this.$store.commit('SET_SKILLS', values)
        }
      }
      

      To work around this I created a local array in the component itself and then watch that array for changes. If there’s a change, I call the Vuex mutation. This solution works, but is there a way I can get the above code to work with q-select of type ‘toggle’?

      posted in Help
      D
      dlevin
    • E2E Testing and Element IDs

      I use Selenium to do E2E tests of a project built using Quasar but I’m running into dead ends when trying to assign IDs to various HTML elements so I can access these elements directly in my tests.

      It’s obviously easy to assign custom IDs to components I’ve written myself, but anytime I use a Quasar component which in turns generates a bunch of HTML elements (often with child elements of their own) I have no way of assigning IDs to these elements and so I can’t access them directly in my tests.

      Am I going about this the wrong way? Is there a better option for E2E testing? Or is the only option to look at the generated HTML code and dig down into child elements manually in the tests?

      posted in Help
      D
      dlevin
    • RE: Drawer - Always enable hiding

      I worked around this by adding $drawer-screen-width-threshold = 9000px in themes/app.mat.styl

      The drawer will always be hidden and the button to toggle it will always be visible (on resolutions lower than 9000px wide)

      posted in Help
      D
      dlevin
    • RE: Testing

      What are the issues you’re running into with vue-router? I’m currently trying to set up testing similar to what is generated by the vue-cli webpack template but am struggling…

      posted in Help
      D
      dlevin
    • RE: Update 'message' property of progress Dialog

      @rstoenescu I ended up going that route! Thanks!

      posted in Help
      D
      dlevin
    • Update 'message' property of progress Dialog

      I’m trying to update the ‘message’ property of a progress Dialog while it is showing. The progress bar updates when the given progress variable changes but I cannot get the message to update.

      0_1476577966580_Screen Shot 2016-10-15 at 5.32.24 PM.png

      I’m updating the progress percentage with data returned from an API call. That same data contains a progress stage string and this is what I want to show in the dialog.

      Any suggestions?

      posted in Help
      D
      dlevin