Comments (12)
This is @jxnblk's project that he's graciously sharing with everyone. I think it's safe to assume that most OSS projects, including this one, are put out there for others to 1) learn from and use what the developer has created and 2) contribute back to the project if they like.
Anyone can be a developer, even if that's not their full-time profession. So you and your friend are certainly welcome to tinker just as I am. Brent hasn't put out any specifications or guidelines for contributions yet; he's just putting out placeholders.
from mdx-deck.
I started tinkering by adding some onClick/onMouseUp/onTouchEnd handlers to the Carousel, but there was no immediate way to test on device with hot reloading. I'm posting some tweaks here for those wishing to develop and test for mobile.
ok-cli (and hence mdx-deck's cli) don't offer a host (or host/client pair) option on the command line, so I modified ok-cli's hotClient options (node_modules/ok-cli/lib/index.js):
const hotClient = {
host: { client: '*', server: '0.0.0.0' },
port: opts.hotPort,
logLevel: 'error'
}
as per webpack-hot-client's Remote Machine README.
I specified a port to make refreshing/reloading the URL on the phone easier. Webpack will only hot-reload on one browser/device at a time, which means you have to close the tab that npm start
opens (--no-open
doesn't seem to work), then refresh the phone's browser.
from mdx-deck.
@jxnblk I'm interested in trying mdx-deck
for an interactive presentation that I'll be running from a tablet. Can you please point me in the right direction for adding prev/next buttons to a presentation?
from mdx-deck.
@appsforartists Seems like #69 added invisible Previous and Next buttons to the UI already.
Example here:
https://relay-modern-course.now.sh/packages/01-setup/#0
If you want the buttons to be visible, it seems like a good bet to build a custom provider: https://github.com/jxnblk/mdx-deck/blob/master/docs/advanced.md#custom-provider-component
from mdx-deck.
Thanks.
yarn run mdx-deck ./src/deck.mdx
doesn't add any buttons with [email protected]
; my DOM doesn't look like yours. I'll look into providers.
from mdx-deck.
After some digging, it looks like those buttons may have been replaced by https://github.com/dogfessional/react-swipeable.
from mdx-deck.
@appsforartists @karlhorky check 👇
https://twitter.com/kuldeepkeshwar/status/1136370461028126721
I hope this is what you were looking for 😉
from mdx-deck.
👆 Repo: https://github.com/kuldeepkeshwar/mdx-deck
from mdx-deck.
@kuldeepkeshwar did you add this feature? Will you open a PR for it?
from mdx-deck.
@karlhorky yup, all you need to do it, open the URL in Mobile & do add to the home screen. Open screen for the audience on any other device(Laptop/Project/TV).
PWA opens in mobile
mode which has navigation buttons.
I will raise the PR soon, some refactoring I need to do, meanwhile, you can use this fork
from mdx-deck.
raised PR #375 🙂
from mdx-deck.
Closing this for now. More specific, new issues can be opened to cover any mobile-related feature requests
from mdx-deck.
Related Issues (20)
- Integrating the presentation into existing website causes number of issues
- gatsby-theme-mdx-deck not working
- Running mdx-deck <filename>.mdx constantly forces a repaint in the browser and the recreation of gatsby pages. HOT 10
- Simple create, resize and fill div
- Presenter mode inaccessible in Windows HOT 3
- Infinite loop when using steps HOT 6
- Readme Clarity
- File-Import in 4.1.1 not working
- Can't start mdx-deck on localhost HOT 1
- Still supported/maintained? HOT 8
- Is there a way to run custom javascript on deck load and slid transitions ? HOT 3
- Can't resolve 'mdx-deck/themes' HOT 2
- Is there support for remark plugins?
- Can this be used with Next.Js HOT 2
- Trying to get in touch with you regarding a security issue
- Import partial slide decks? HOT 4
- Upgrade Gatsby to v3? HOT 2
- "Getting Started" steps do not work HOT 4
- Need custom shortcuts
- Not running on Gatsbyjs 4 HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from mdx-deck.