Code Monkey home page Code Monkey logo

secret-santa-o-matic's People

Contributors

buddemat avatar

Watchers

 avatar

secret-santa-o-matic's Issues

Bug: Fix newlines in email body

The \n characters in the options file are not correctly printed in the email body, but instead printed as literal n. Fix.

Bug: Composing emails behavior wrong when clicking button multiple times

Since the last element is removed from the @results not after drawing, but before composing emails, if "Compose E-Mails" is clicked multiple times, each time an additional person will be falsely removed from the results from the second time on! This is annoying and could also happen unnoticed.

TODO: refactor so that this is done directly after drawing

Bug: Make email client calls "non-blocking"

When clicking "Compose emails", a thunderbird compose window opens for each recipient only after the previous compose window has been closed. Change behavior so that all compose windows open directly.

Bug: Compose emails only when valid sequence has been drawn and saved

The "Compose emails" button should only be active (i.e. clickable) when a valid sequence has been drawn and saved to .txt files.

That means, the button needs to be disabled

  • on startup, before a valid sequence has been drawn
  • when a sequence has been drawn without writing files (in order to not send emails with old .txt files)
  • when the selected people change (?)
  • ... ?

A clean possibility could be to empty the output folder and disable the butto on the above events and enable the button when files are written to the folder

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.