-
Notifications
You must be signed in to change notification settings - Fork 7
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #935 from eyra/link-panl-integration
Link Panl Integration
- Loading branch information
Showing
214 changed files
with
2,246 additions
and
1,809 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,3 @@ | ||
erlang 25.0.4 | ||
erlang 25.3.2.7 | ||
elixir 1.14.0-otp-25 | ||
nodejs 18.19.0 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,7 @@ | ||
[ | ||
# https://github.com/phoenixframework/phoenix/issues/5437, fixed in Phoenix 1.7.3 or higher | ||
{"systems/benchmark/export_controller.ex", :no_return}, | ||
{"systems/benchmark/export_controller.ex", :call} | ||
{"systems/benchmark/export_controller.ex", :call}, | ||
# https://elixirforum.com/t/dialyzer-listed-not-implemented-protocols-as-unknown-functions/2099/12 | ||
~r/.*:unknown_function Function .*__impl__\/1 does not exist.*/ | ||
] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,63 @@ | ||
import _ from "lodash"; | ||
|
||
let resizeHandler; | ||
|
||
export const Viewport = { | ||
mounted() { | ||
// // Direct push of current window size to properly update view | ||
// this.pushChangeEvent(); | ||
|
||
window.addEventListener("resize", (event) => { | ||
this.pushChangeEvent(); | ||
}); | ||
}, | ||
|
||
updated() { | ||
console.log("[Viewport] updated"); | ||
// this.pushChangeEvent(); | ||
}, | ||
|
||
pushChangeEvent() { | ||
console.log("[Viewport] push update event"); | ||
this.pushEvent("viewport_changed", { | ||
width: window.innerWidth, | ||
height: window.innerHeight, | ||
}); | ||
}, | ||
|
||
turbolinksDisconnected() { | ||
window.removeEventListener("resize", resizeHandler); | ||
}, | ||
|
||
sendToServer() { | ||
const viewport = { | ||
width: window.innerWidth, | ||
height: window.innerHeight, | ||
}; | ||
|
||
console.log("[Viewport]", viewport); | ||
|
||
let csrfToken = document | ||
.querySelector("meta[name='csrf-token']") | ||
.getAttribute("content"); | ||
|
||
if (typeof window.localStorage != "undefined") { | ||
try { | ||
var xhr = new XMLHttpRequest(); | ||
xhr.open("POST", "/api/viewport", true); | ||
xhr.setRequestHeader("Content-Type", "application/json"); | ||
xhr.setRequestHeader("x-csrf-token", csrfToken); | ||
xhr.onreadystatechange = function () { | ||
console.log( | ||
"[Veiwport] POST onreadystatechange", | ||
this.status, | ||
this.readyState | ||
); | ||
}; | ||
xhr.send(`{"viewport": "${viewport}"}`); | ||
} catch (e) { | ||
console.log("[Viewport] Error while sending viewport to server", e); | ||
} | ||
} | ||
}, | ||
}; |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
defprotocol Frameworks.Concept.Branch do | ||
# FIXME: add possibility to resolve dependencies to leafs (siblings) | ||
|
||
@type scope :: :self | :parent | ||
|
||
@spec name(t, scope) :: binary | ||
def name(_t, _scope) | ||
|
||
@spec hierarchy(t) :: list | ||
def hierarchy(_t) | ||
end |
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.