Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Table model #12

Closed
emilianodellacasa opened this issue Jan 24, 2019 · 30 comments
Closed

Table model #12

emilianodellacasa opened this issue Jan 24, 2019 · 30 comments
Assignees
Labels
bug Something isn't working

Comments

@emilianodellacasa
Copy link
Contributor

emilianodellacasa commented Jan 24, 2019

The Table model represents the tables that are part of the Location. The Table model should also contain a reference to a Floor model (defined in #11).

These are the main attributes:

  • Id
  • Table name (unique in the same location);
  • floor_id (link to Floor)
  • X-axis table coordinate
  • Y-axis table coordinate
  • Table height
  • Table width
  • Table status (available / unavailable / removed)
  • Max Capacity
  • Multi-reservation flag (if a table can fit > 1 reservation)
  • PlayStation tag (if a table has a PlayStation)

Tables should have its own management pages to list, create, edit and delete them. In the index page it should be possible to sort and filter for every column.

Table management page should be accessed by the Location and Floor pages.

@emilianodellacasa emilianodellacasa added the bug Something isn't working label Jan 24, 2019
@0crat 0crat added the scope Issue is in scope label Jan 24, 2019
@0crat
Copy link

0crat commented Jan 24, 2019

Job #12 is now in scope, role is DEV

@0crat
Copy link

0crat commented Jan 24, 2019

Bug was reported, see §29: +15 point(s) just awarded to @emilianodellacasa/z

@0crat
Copy link

0crat commented Jan 24, 2019

The job #12 assigned to @amihaiemil/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be a monetary reward for this job

@0crat
Copy link

0crat commented Jan 24, 2019

Job gh:timelesslounge/timelessis#12 already assigned to @amihaiemil, can't assign to @amihaiemil

@amihaiemil
Copy link
Contributor

@emilianodellacasa you say that a table should have:

Id
Table number (unique in the same location);
Table name (unique in the same location);
floor_id (link to Floor)

I believe that the table number & name should be unique per floor, not per location, right? Furthermore, since you have this constraint, I guess the a table's Primary Key should actually be a compound key made up of (number, name, floor_id).

WDYT?

@emilianodellacasa
Copy link
Contributor Author

@amihaiemil The PO decided to keep only the TableName attribute and make it unique per location.

@0crat
Copy link

0crat commented Jan 29, 2019

@amihaiemil/z this job was assigned to you 5days ago. It will be taken away from you soon, unless you close it, see §8. Read this and this, please.

@amihaiemil
Copy link
Contributor

@0crat waiting for #62 to be merged. There's a relation between them (a table has a shape) and also want to avoid conflicts.

@0crat
Copy link

0crat commented Jan 29, 2019

@0crat waiting for #62 to be merged. There's a relation between them (a table has a shape) and al... (here)

@amihaiemil The impediment for #12 was registered successfully by @amihaiemil/z

@amihaiemil
Copy link
Contributor

@emilianodellacasa please assign this to @paulodamaso (he said he already made a working draft since a task of his dependend on this one). He'll move faster, I'm also a little tight on time right now.

@emilianodellacasa
Copy link
Contributor Author

@0crat assign @paulodamaso

@0crat 0crat assigned paulodamaso and unassigned amihaiemil Feb 1, 2019
@0crat
Copy link

0crat commented Feb 1, 2019

@0crat assign @paulodamaso (here)

@emilianodellacasa The job #12 assigned to @paulodamaso/z, here is why; the budget is 30 minutes, see §4; please, read §8 and §9; if the task is not clear, read this and this; there will be a monetary reward for this job

@0crat
Copy link

0crat commented Feb 1, 2019

@0crat/z I see that you unassigned this issue; the order is still assigned to @paulodamaso/z though; to cancel the order use refuse, as in §6

@0crat
Copy link

0crat commented Feb 1, 2019

Manual assignment of issues is discouraged, see §19: -5 point(s) just awarded to @emilianodellacasa/z

@emilianodellacasa
Copy link
Contributor Author

@paulodamaso Please submit a puzzle to go on with the implementation of this feature

@paulodamaso
Copy link
Contributor

@emilianodellacasa Done, please take a look

@emilianodellacasa
Copy link
Contributor Author

@paulodamaso please submit a PR for it

@paulodamaso
Copy link
Contributor

@emilianodellacasa Look at #111 please

@0pdd
Copy link

0pdd commented Feb 4, 2019

@emilianodellacasa the puzzle #112 is still not solved.

@emilianodellacasa
Copy link
Contributor Author

@paulodamaso Thanks!

@0crat
Copy link

0crat commented Feb 4, 2019

@ypshenychka/z please review this job completed by @paulodamaso/z, as in §30; the job will be fully closed and all payments will be made when the quality review is completed

@0crat 0crat removed the scope Issue is in scope label Feb 4, 2019
@0crat
Copy link

0crat commented Feb 4, 2019

The job #12 is now out of scope

@ypshenychka
Copy link

@0crat quality good

@0crat
Copy link

0crat commented Feb 4, 2019

Order was finished, quality is "good": +35 point(s) just awarded to @paulodamaso/z

@0crat
Copy link

0crat commented Feb 4, 2019

Quality review completed: +8 point(s) just awarded to @ypshenychka/z

@0pdd
Copy link

0pdd commented Feb 9, 2019

@emilianodellacasa 2 puzzles #169, #170 are still not solved; solved: #112.

@0pdd
Copy link

0pdd commented Feb 11, 2019

@emilianodellacasa 2 puzzles #170, #214 are still not solved; solved: #112, #169.

@0pdd
Copy link

0pdd commented Feb 12, 2019

@emilianodellacasa 3 puzzles #170, #214, #234 are still not solved; solved: #112, #169.

@0pdd
Copy link

0pdd commented Feb 22, 2019

@emilianodellacasa 3 puzzles #170, #214, #381 are still not solved; solved: #112, #169, #234.

@0pdd
Copy link

0pdd commented Mar 5, 2019

@emilianodellacasa the puzzle #381 is still not solved; solved: #112, #169, #170, #214, #234.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

6 participants