alicekaerast / ioffice Goto Github PK
View Code? Open in Web Editor NEWCreate and list reservations on ioffice from the commandline (and Go)
Create and list reservations on ioffice from the commandline (and Go)
A room name isn't necesarily unique, so attempting to reserve a room name that returns multiple results will book the first room matching the name
We can assume that room names are unique within a building, so we need to handle the concept of a building
Currently when we make a booking we take a location name and perform a full-text search using that name in order to get an location ID. This is a problem because partial matches are possible, leading to the wrong location ID being selected and therefore some locations being impossible to book.
Eg. if a building has locations named 123, 1123 and 2123 then specifying the location named 123 first cause a search to be performed which will return all three locations. We then take the first location found (which I think is the first one created), and then attempt to book that location. Since the location 2123 is consistently being returned as the first result it is impossible to book the location named 123.
We should be able to take either a location name or a location ID, and/or do a better job of returning the expected location when searching
We should show an extra column for office name in the list of reservations
Currently you have to either remember which office you're booked into, or guess from the location naming scheme
We could possibly remove the "Checked In?" column if this starts making the table too wide because that's no longer needed by most users of this app
Some of the other commands may also benefit from updates to make it easier to work across multiple buildings too
This is apparently a relatively new feature, we need to investigate how it works
GoReleaser is failing with:
⨯ release failed after 0s error=failed to get module path: exit status 2: flag provided but not defined: -m
usage: list [-e] [-race] [-f format] [-json] [-tags 'tag list'] [packages]
This looks like it might be attempting to run go list
, however I can't reproduce the error message locally
I don't know how many people are actually using releases vs. compiling from source, so I don't know how urgent this is. But there isn't much development going on given the featureset is good enough for most people now.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.