| |
|
|
|
|
|
| |
pictures. Adam: swipes and arrows up/down should go to the next post's media, left/right to the next within a post. The pager is now posts stacked top to bottom, each a row of its pictures or clips side by side — a quoted post's join the post that quotes it — with dots along the top when a post has more than one, saying how many and which. Up and down (swipe, arrows, j/k, Page) move a post at a time and land on a post where its row was left; left and right (swipe, arrows, h/l) move within the post and stop at its ends. A post's pictures all load as it comes near (those along its row too); a clip's head start goes to the next post's (where its row rests), the next along this one, and the post after next, at half; the look-ahead (the feed paging on, the media crawl) counts posts. Pictures pan sideways as well as up and down at 1×. Tests find the slide on screen by where it sits (the pager's children are posts now); feed-picture-pager walks right within a post, down past one with none, back up to where a post was left, left to its first, and a sideways swipe next to a swipe up; quote-pager walks the quoting post's row (its own picture, then the quote's).
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01KPw21NEpWeTGu6swVASmBt
|
| |
|
|
|
|
|
| |
one tap. Adam: Chrome's "v3.coinos.io – To exit full screen, drag from the top and touch the back button" shows every time, and a YouTube clip needs its own small full-screen icon. The notice is Chrome's, put up whenever a page goes full screen; a page can't turn it off, so the app goes full screen less. In the installed app (display-mode standalone, or opened from an android-app:// referrer) there is no address bar and the paimport axios from "axios";
import db from "$db";
import store from "$lib/store";
export default async (asset, user, transaction) => {
const account = await db.Account.findOne({
where: {
user_id: user.id,
asset,
pubkey: null
},
lock: transaction.LOCK.UPDATE,
transaction
});
if (account) return account;
let params = {
user_id: user.id,
asset
};
let name = asset.substr(0, 6);
let domain = "";
let ticker = asset.substr(0, 3).toUpperCase();
let precision = 8;
if (store.assets[asset]) {
({ domain, ticker, precision, name } = store.assets[asset]);
} else {
const existing = await db.Account.findOne({
where: {
asset
},
order: [["id", "ASC"]],
limit: 1,
lock: transaction.LOCK.UPDATE,
transaction
});
if (existing) {
({ domain, ticker, precision, name } = existing);
}
}
params = { ...params, ...{ domain, ticker, precision, name } };
params.balance = 0;
params.pending = 0;
return db.Account.create(params, { transaction });
};
|