Update: How user prefs will evolve

Abierto
#35 2 comentarios 0 reacciones 0 asignados Ver en GitHub

Nadie ha tomado este issue todavía.

Evaluación

Dificultad
5/5
Tiempo estimado
Más de una semana
Aptitud para principiantes
25/100
Tipo de issue
Nueva funcionalidad
Claridad
Necesita aclaración
Estado de actividad
Estancado
Stack tecnológico
sql
Área
api, database

Línea de trabajo

Read the users table schema and the existing database.getUserPrefs and database.setUserPrefs interfaces, then review the referenced SQL upgrade command. The issue describes a planned apps JSON field and a Marktwain reference implementation, but does not define a concrete change or completion test.

Escrito por el modelo de indexación a partir del texto del issue.

Descripción

Overview

There will be a new element in the users table called "apps" of type JSON.

When you upgrade, you will use this SQL command:

alter table users add apps json;

How it works

This new element will be accessed through two already-existing interfaced functions:

database.getUserPrefs (screenname, callback)

database.setUserPrefs (screenname, jsontext, callback)

It's up to applications that build on FeedLand through the platform API to decide how to use the apps structure, though there will be conventions.

The idea is that adding new prefs should be easy, and not require any modifications to FeedLand.

I'm now working on a reference implementation in the Marktwain app. It will be part of the high-level FeedLand API.

Lenguaje dominante
HTML
Estrellas
11
Forks
4
Métricas de merge de PR
Sin PR fusionados en 30 d

Guía de contribución

No hay ninguna guía de contribución indexada para este repositorio

Primeros pasos

  1. Lee el issue completo y luego la guía de contribución del proyecto.
  2. Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
  3. Haz un fork del repositorio y trabaja en una rama.
  4. Abre un pull request que haga referencia al número del issue.

Más de scripting/feedlandInstall

Todos los issues de scripting/feedlandInstall

Issues similares

Más issues de Backend & API Design

Recibe los nuevos issues en tu correo

Un resumen breve de issues de GitHub para principiantes.