Skip to content

Instantly share code, notes, and snippets.

@maitham
maitham / LinearTicketJTBD
Last active December 29, 2025 18:36
LinearTicketJTBD
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "LinearTicketJTBD",
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The job statement title, describing what the user is trying to get done (e.g., 'Enable users to export reports quickly')"
},
"content": {
async function (user, context, callback) {
user.app_metadata = user.app_metadata || {};
if (user.app_metadata.signedup) {
return callback(null, user, context);
}
const fetch = require('isomorphic-fetch@2.2.0');
var baseURL = configuration.BACKEND_URL;
var tokenSecret = configuration.BACKEND_SECRET;
var body;
import React, { useState, useRef, useContext, useCallback } from 'react';
import { Dimensions, View, Animated } from 'react-native';
import { TabView } from 'react-native-tab-view';
import { TabScreen } from './Tab';
import { CustomTabBar } from './TabBar';
import { ThemeContext } from 'react-native-elements';
import { useHeaderHeight } from '@react-navigation/stack';
const AnimatedHeader = ({ style, content }) => {
return <Animated.View style={style}>{content}</Animated.View>;
};