1.1.17 • Published 8 months ago

practisemaster v1.1.17

Weekly downloads
-
License
ISC
Repository
github
Last release
8 months ago

This is the PractiseMaster repo, treat it with respect! Gitpod ready-to-code

CI pathways, take care each commit triggers a github action!

CI pathway strategy: the idea is to automate many of the steps that are involved in testing. Publishing to NPM can be automated, triggering Browserstack tests can also be automated. Browserstack badges also can be added to display test results without manual intervention.

see actions readme.md which explains the purpose of each 'work flow'

Dev StagePub TriggerNPM Endpoint
Local Debug/ Manual Testslocal devbuildgitpod ./dist/bundle on 8000 (skip ci or other in commit message)
BS testsGit Commit Bundle.jshttps://cdn.jsdelivr.net/npm/practisemaster@dev/dist/PMbundle.js
ReleaseManual Build and Release (no tag)https://cdn.jsdelivr.net/npm/practisemaster@latest/dist/PMbundle.js
Homepage w/ StyleNonehttps://cdn.jsdelivr.net/gh/StephanLuis/PractiseMasterJSplugin@latest/nonobfs/PMbundle.js

NPM

stephanluis
J!
stephan@learnsense.org

manual dev publish: npm publish --tag dev

End To End Test URLs

PM: Debugging on gitpod 8000, dev test on NPM and code sandbox, release on PM website. See https://github.com/StephanLuis/BrowserStackSelenium/blob/main/TestURLs/PMtestURLs.mjs (on BSSelenium Repository)

Display Flowchart (Edit Flowchart)

---
title: PM Device And Browser Response
---
flowchart TD
    A[Problems: Phone Screen size, Safari mouse hover] 
    A --> |ua-parser-js| C{".getDevice()<br>.type === 'mobile'"}
    C -->|Yes| D[Display Full Screen Button Only fa:fa-up-right-and-down-left-from-center]
    C -->|No| E[pageSupport]
    E --> F{checkUserBrowser<br>Safari}
    F-->|Yes| G[Static Controls]
    F-->|No| H[Unmod PM controls]
    

Class Diagram (Edit Diagram)

---
title: Class Diagram (CD) PractiseMaster
---
classDiagram
note "define element for PractiseMasterWebComp <- PM.js "
LoopEditorWebComp"1"..|>"*"DocumentObject: Realisation PM.js
PractiseMasterWebComp"1"..|>"*"DocumentObject
LoopEditorWebComp<|--PractiseMasterWebComp: Inheritance
PractiseMasterWebComp <|-- HTMLElement
PractiseMasterWebComp*--PractiseMaster: Composition
PageSupport*--HostSite
PageSupport*--Helpers
PageSupport*--UserRequest
PractiseMasterWebComp"1"*--"1"PageSupport
PractiseMaster"1"*--"*"Player
Player*--Plyr
Player*--Loop
Loop<|--Chapter: Inheritance
Player*--UIprep
UserRequest<..UAParser: Dependancy
UIprep<..input-duration: Dependancy


class LoopEditorWebComp{
    +constructor()
}
class PractiseMasterWebComp {
+constructor(+super())
+connectedCallback(+initialiseContainers())
+initialiseContainers()
    ++replaceWithDiv(node)
    ++replaceWithVideo(node)
    ++replaceWithAudio(node)
+globals()
}    
class PageSupport {
        +constructor()

}
class PractiseMaster {
+constructor()
}
class HostSite{
    +constructor()
    +checkURL()
    +formatIndependantCSS()
    +cssForFiddleHedVimeo()

}
class Helpers{
    +constructor()
    +delegate(selector, handler)
    +delegateByID(selector, handler)
    +delegateByIDparams(selector, start, end, handler)
    +toStringTime(numberSeconds)
    +secondsNumber(param)
    +hmsuToSecondsOnly(str)
    +redWarningValidation(id)
    +getPMid(childElement)

}
class Player{
    +constructor()
    +setVideoListeners(id) object PMinstance_id
}
class Plyr{
    +constructor()
}
class Loop{
    +constructor()
}
class Chapter{
    +constructor()
}
class UIprep{
    +constructor()
    +addAudioStyle(id)
    +addHTMLlink()
    +addHTMLchapter()
    +disableDurationInputs(id)
    +addLinkButton(id)
    +styleInputDuration(id)
    +applyPlyrReadyCssHTMLSettings()like static
    +applyPMReadyCssHTMLSettings()
    +setOffPlayerControls(player)
    +offPlayerControls(id)


}
class UserRequest{
    +constructor()
}
class UAParser{
    +contructor();
}
class input-duration{
    +constructor();
}

class DocumentObject{
    +PMbundle.js
 +HTMLElement practise-master
 +HTMLElement loop-editor
    +constructor();
}

=======

Display Flowchart

https://drive.google.com/drive/folders/1KXWqXpzDOVReIaBMAkTHVmr0r4kKMGL6?usp=sharing

1.1.19

8 months ago

1.1.18

8 months ago

1.1.16

10 months ago

1.1.15

10 months ago

1.1.14

10 months ago

1.1.17

10 months ago

1.1.9

1 year ago

1.1.8

1 year ago

1.1.7

1 year ago

1.1.12

12 months ago

1.1.11

12 months ago

1.1.10

1 year ago

1.1.13

12 months ago

1.1.6

1 year ago

1.1.5

1 year ago

1.1.4

1 year ago

1.1.3

1 year ago

1.1.1

1 year ago

1.1.0

1 year ago

1.1.2

1 year ago

1.0.42

1 year ago

1.0.41

1 year ago

1.0.40

1 year ago

1.0.39

1 year ago

1.0.38

1 year ago

1.0.33

1 year ago

1.0.37

1 year ago

1.0.36

1 year ago

1.0.35

1 year ago

1.0.34

1 year ago

1.0.32

1 year ago

1.0.26

1 year ago

1.0.29

1 year ago

1.0.28

1 year ago

1.0.27

1 year ago

1.0.31

1 year ago

1.0.30

1 year ago

1.0.25

1 year ago

1.0.24

1 year ago

1.0.22

1 year ago

1.0.21

1 year ago

1.0.20

1 year ago

1.0.23

1 year ago

1.0.19

1 year ago

1.0.18

1 year ago

1.0.17

1 year ago

1.0.16

1 year ago

1.0.15

1 year ago

1.0.14

1 year ago

1.0.11

2 years ago

1.0.10

2 years ago

1.0.13

2 years ago

1.0.12

2 years ago

1.0.9

2 years ago

1.0.8

2 years ago

1.0.2

2 years ago

1.0.1

2 years ago

1.0.7

2 years ago

1.0.6

2 years ago

1.0.5

2 years ago

1.0.4

2 years ago

1.0.3

2 years ago

0.0.4

2 years ago

0.0.3

2 years ago

0.0.2

2 years ago

0.0.1

2 years ago