mirror of
https://github.com/rojo-rbx/rojo.git
synced 2026-10-24 06:34:09 +00:00
Track what needs to be done in-source
This commit is contained in:
parent
63ea182f94
commit
bf6766919e
8 changed files with 15 additions and 4 deletions
|
|
@ -8,6 +8,7 @@ local HttpError = require(script.Parent.HttpError)
|
|||
local ApiContext = {}
|
||||
ApiContext.__index = ApiContext
|
||||
|
||||
-- TODO: Audit cases of errors and create enum values for each of them.
|
||||
ApiContext.Error = {
|
||||
ServerIdMismatch = "ServerIdMismatch",
|
||||
}
|
||||
|
|
|
|||
|
|
@ -13,6 +13,7 @@ local function dprint(...)
|
|||
end
|
||||
end
|
||||
|
||||
-- TODO: Factor out into separate library, especially error handling
|
||||
local Http = {}
|
||||
|
||||
function Http.get(url)
|
||||
|
|
|
|||
|
|
@ -45,6 +45,8 @@ local function main()
|
|||
|
||||
local currentSession
|
||||
|
||||
-- TODO: More robust session tracking to handle errors
|
||||
-- TODO: Icon!
|
||||
toolbar:CreateButton("Connect", "Connect to Rojo Session", "")
|
||||
.Click:Connect(function()
|
||||
checkUpgrade()
|
||||
|
|
|
|||
|
|
@ -11,8 +11,8 @@ function Session.new()
|
|||
|
||||
setmetatable(self, Session)
|
||||
|
||||
-- TODO: Rewrite all instance tracking logic and implement a real reconciler
|
||||
local created = {}
|
||||
|
||||
created["0"] = game:GetService("ReplicatedFirst")
|
||||
|
||||
local api
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue