Git Product home page Git Product logo

editour's People

Contributors

bandaloo avatar jojonium avatar

Stargazers

 avatar  avatar

editour's Issues

Lock the "upload" title input while in editing mode

Once you download a tour you have to upload it again under the same name or it will cause all kids of issues. The upload text input should be locked to prevent the user from changing it while in editing mode.

Visual feedback for upload

The front-end should show some kind of visual feedback when you click "upload", showing that the upload is in progress and either displaying an error or giving a success message when it finishes.

Form required fields are mixed up

With the "upload" tour name field blank type in a name under the "download" tour name field and press enter. It will inform you that you need to fill in the "upload" field even though you don't really need to

Multiple files with the same name break the program

Uploading two or more files with the same filename will cause issues because the metadata needs to disambiguate which belongs to which region. If the front-end can rename files before they're uploaded that would be ideal.

"500: Failed to unzip: Unable to write" error

The backend sometimes sends a 500 error with the message "Failed to unzip: Unable to write". I'm not sure why or what causes it but the files do get uploaded and added to the zip properly.

Progress indicator

The front end should have some indicator that the upload has started but not completed yet (e.g. a spinner)

Front end doesn't handle non-JSON responses

The server might return something that isn't a JSON in an error (for example, NGINX might send some HTML in case of a 504 gateway timeout). The front end should handle this and report an error to the user

Get rid of region hash

There's no need for this pattern anymore. The regions list should simply be an array, and RegionCards should have a reference to those regions.

UI could be more clear

It's not readily apparent that to edit a point you have to click the "Info" dropdown (or even that it's possible to edit a point).
Also the "Download" button makes it seem like it downloads the tour, but it really doesn't. It should be more clear that it just starts editing an existing tour

Make downloading a tour easier

On the backend when you submit a tour name it does this:

const tourName = fields.tourName
        .trim()
        .toLowerCase()
        .replace(/\s+/g, "-")
        .replace(/[\/\?\=&]/g, "");

This makes the name more suitable to URLs, but might change it from what the user put in. For example, if the user uploads a tour with the name "My Tour", they won't be able to edit it by entering "My Tour" in the download field (they'd have to enter "my-tour"). To make it easier, apply the above transformations to the user entered download field text before sending a request to the server.

Fix index title

The <title> attribute on the index page is still just poly region. It should be something nicer like "Editour | Build and Edit Custom AR Tours"

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.