Coder Social home page Coder Social logo

football-mobile's People

Contributors

akc42 avatar dependabot[bot] avatar

Stargazers

 avatar

Watchers

 avatar  avatar

football-mobile's Issues

Write the Navigation Help Page

In order to get a clearer view in my mind, develop the navigation help page (which is essentially just writing the text) to explain how navigation in the app works.

Review the current namesapces in use in this project and thing about how to improve

lets think a little about what the classes are as a starting point

  • - the main app itself, menu - header and footer
  • - session manager
  • - session pages
  • - route-manager
  • - page managers (derived from route-manager)
  • - sub-pages (home and others)
  • - list manager
  • - elements referred by list manager
  • - form manager
  • - form controls
  • - common ui components - specifically <fm-page> to <user-page> , <app-page> to <fm-page>, <app-overlay> to <dialog-box> and <app-waiting> to <waiting-indicator>

Get a list of emoticons currently used

See #21

  • list fields in the database that could contain this sort of text
  • define a case statement that uses instr(string,substr) to find each of the valid current emoticons
  • make a query to list them all - might initially just look for :

Improve form handling

I want to switch more to using the native form handling with native elements embedded but with unique styling. I think I can do this with existing <app-form> element appropriately modified. Slotted content will be the child elements, but I am hoping I can still these using the ::slotted selector

  • review existing date elements to see how, when editable it should be integrated within the form
  • review area needs for date element
  • review documentation on validation and make a plan (as comments to this issue) as how to use it
  • define styling I want to use for this
  • review ::slotted selector and the sort of styling that can be done with that to see if that is an appropriate way to style form content
  • change <app-form> to achieve the above

Urls do not reflect competition id and can cause problems

I was viewing a url of the form "/rounds/15/user/200" from an old competition. When I tried to refresh the page, I take a path through session manager which set the competition to the latest. Because the url doesn't contain the competition it proceeded to try and read a url for a user who wasn't in the latest competition and fell over.

So I think we need (apart from at the very beginning) to include the url in the in the requests.

My suggestion for this is for page manager to screen out the url before passing it on the the top level route manager

Check version and copyright info is correctly picked up when no git repository

The code will try and get version and copyright info from the git repository if there is one. However in a live environment it is expected that the code will be copied in place and there will not be an underlying repository. A mechanism is built in to check a "release.info" file.

This needs to be checked as we move into the beta phase and this issue is a reminder to do that

Draw out the UI for the new layout.

I need to set up an instance of the old system and get some screen shots of that and use that to redesign the layout for running on a mobile phone

Develop <user-list> element

this should enable a user list which is scrollable (with momentum) with default slot for user data, and two heading slots, one for the user side element and one for the data part part

Switch to unicode emojis

As I see it, the old emoticon system in previous versions of mobile is completely out of date. It was hardly every used and its going to be a pain to implement it as is. Instead we know have emoji, and particularly mobile phones and ipads have emojis available on them as standard. So we should switch over. which I think involves a number of steps

  • #22 go through existing database and get a list of the actual emoticons that have been used
  • #23 define a replacement emoji for all existing used emoticons
  • create an emoticonremoval branch for work below
  • remove emoticon references from server start up
  • #29 make a conversion script (ideally in just sql, but alternatively as a special one off javascript program)
  • integrate conversion with server start
  • #32 tidy up code to remove old emoticon elements.

Reflect guidelines (see description) for styling

Having read lit-element discussion on styling I came across an idea I had not though of before. Namely that static get styles() function can have inline css template strings. However, there is an important and often overlooked point. these styles are per class and therefore can only be overridden in dev tools by adding per-element styles. Its a mild inconvenience, but will add to our approach.

  • All elements should start development with the styles defined in a <style> tag in the render function.
  • When an element reaches stability we can move styling into a css tagged template string in the get styles() static function. The very fact that our element has been styled that way is our indication that we regard styling as stable. Note that returning some or all of the styling back to the render function is acceptable if there is an issue.
  • We will only use external style sheets when multiple element classes want them (e.g tooltip)

These rules are different from now - so we will tick off the tasks below as we get to them.

  • re-encorporate all element specific styles inside their own element
  • evaluate all remaining styles and remove those not needed
  • change vscode snippets in creating new elements to match this policy (including starting with a <style> element in render)
  • remove vscode snippet to add just style.

Switch to images for teams

I think it is better (especially for caching) to store the team icons as static images.

  • #25 go through existing images and turn them into png files stored in client/appimages/teams with just tid as their basename
  • #26 fix code in client to use image files rather than database data
  • #31 fix api calls on server to remove returning logos
  • #30 fix database conversions to remove logos entirely (we will solely reference via tid)

Create round frame work

I will be called with :cid/admin/round and from there I should either go to :cid/admin/round/:rid of a rid exists, else go to the create round page at :cid/admin/round/rounds page

Need to be able to validate users not a robot (via google re-captcha)

Implement google re-captcha

  • - make a client element
  • - client element needs to resize to fit reservered space (and position over it)
  • - server side validation works
  • - supports re-get capture if fails (just wait to minutes so token not valid anymore)
  • - prove it works in the e-mail logon section.

Evaluate Elix v Material Components Web Components v Roll own

For the new version of football mobile we need a component library of some sort. In my last project I rolled my own, but that was because the components available were not mature. I feel this has changed.

However before a decision has to be made, I need to have sketched out the UI look

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.