Giter Site home page Giter Site logo

portals-quality-code's People

Contributors

trentbrown avatar

Watchers

 avatar

portals-quality-code's Issues

The controls at upper right corner of embeds covers the iframe controls of the welcome page

Describe the bug
When screensize is small, the controls at the upper right of the iFrame that is presented by the Portals site in the welcome dialog are obscured by the embed's controls, making it impossible to proceed to enter the space.

To Reproduce
Steps to reproduce the behavior:

  1. Go to the sample embed here: https://portals.qualitycode.io/portals-embed.html
  2. Click on the Portals spiral to enter the space inside the embed
  3. When the avatar page is rendered, click the button to enter the space
  4. When the welcome page renders, observe that the embed controls cover the welcome page controls. See screenshot below.

CleanShot 2023-07-16 at 08 24 45@2x

The wrong asset can be downloaded

Describe the bug
If the currently selected asset is not the one where the download button is clicked, the selected asset will be downloaded.

To Reproduce
Steps to reproduce the behavior:

  1. Click on the "Assets" tab
  2. Select the first asset in the list
  3. Move mouse over the second asset item
  4. Click the download button for the second item
  5. Observe that the first asset is the one that is downloaded

Expected behavior
The first item should be the one downloaded.

Additional context
It's clear that the command to download is not being passed the asset and instead is using the current selection

Add multiple selection of items in all lists

Is your feature request related to a problem? Please describe.
Being able to do things like download or delete more than one item in the lists would be nice. Would make the list header buttons more useful.

Provide a way to capture screenshots of a space when inside it

Is your feature request related to a problem? Please describe.
A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like
A clear and concise description of what you want to happen.

Describe alternatives you've considered
A clear and concise description of any alternative solutions or features you've considered.

Additional context
Add any other context or screenshots about the feature request here.

Add asset sharing between users of the QualityCode.io storage provider

Describe the solution you'd like
Being able to share assets between Portals users would support development by the community.

Additional context
This would be implemented by the QualityCode.io storage provider, as that's the one for which we have control over the hosted assets and access to them.

Shared asset stores could be made public to everyone, or public only to other QualityCode.io users.

If sharing is only with other QualityCode.io users, it would be possible to have both read and write access to them.

The name of the preview is "undefined" instead of "fullscreen" in the deletion warning dialog

The name of the preview is "undefined" instead of "fullscreen" in the deletion warning dialog

Steps to reproduce the behavior:

  1. Select the "Spaces" tab
  2. Select the "Previews" tab in the "Detail" panel
  3. Move mouse over the "Fullscreen" preview
  4. Click the deletion button
  5. Observe that the error message has "undefined" in place of "fullscreen"

Expected behavior
The warning message should use the word "fullscreen"

FullScreenBug

Clicking on green publish allows picking non-hosted store

Describe the bug
Clicking on green publish allows picking non-hosted store. You should not be allowed to publish to a local browser store. That does not make sense, and won't work

To Reproduce
Tried various things to reproduce, including setting the destination in the assets list first, and clearing the browser cache to resetdefaults, but could not.

Expected behavior
If the browser store was the last selected destination or the default destination, the code should switch to a hosted store when the dialog is posed.

Accordion expand/collapse controls do not save state across sessions

The accordion expand/collapse controls work, but don't retain the open/closed state between browser sessions.

Steps to reproduce the behavior:

  1. Go to the "Assets" tab
  2. Collapse the "Assets" panel
  3. Observe that the panel collapses
  4. Refresh the browser page
  5. Observe that the "Assets" panel is now open, not closed.

Expected behavior
After following the steps above. The "Assets" panel should be closed after refresh.

Copying an asset from QualityCode store to browser store leaves asset without blobs

Describe the bug
Copying an asset from QualityCode store to browser store leaves asset without blobs

To Reproduce
Steps to reproduce the behavior:

  1. Go to the "Assets" tab
  2. On the "Asset Stored" panel, select the QualityCode.io store
  3. Make sure you're logged in to the store
  4. Select an asset in the store
  5. Click the copy button
  6. From the modal dialog, select a browser store
  7. Click the "Copy to Store" button
  8. Switch to the "This Browser" store
  9. Observe that NO assets appear in the list anymore
  10. Open browser dev tools to see console error that result from this bug

CleanShot 2023-07-16 at 08 17 30@2x

Gray out disabled buttons

Describe the solution you'd like
Currently, buttons in the UI that don't do anything (often because there is no selection) appear like they are active. Gray them out to let the user know at a glance that they are inactive.

Add progress indicators for operations that take a while

Is your feature request related to a problem? Please describe.
The user may become confused or impatient when nothing happens after clicking a button —like uploading an asset to a hosted store, for example, which can take a second or two.

Describe the solution you'd like
A spinner or a progress dialog

Add display of version number and a button that views source

Describe the solution you'd like
It would be useful to display the version number and to provide a button that opens a tab that displays the source behind the embed sample site. Use simple elements. If it does not add to the complexity of the example, consider formatting the source with a library.

Additional context

<html>
<head>
  <title>View Source Button</title>
  <script>
    function viewSource() {
      var sourceWindow = window.open("", "_blank");
      sourceWindow.document.write("<pre>" + document.documentElement.innerHTML + "</pre>");
    }
  </script>
</head>
<body>
  <button onclick="viewSource()">View Source</button>
</body>
</html>

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.